Skip Navigation

[Closed] After editing CPT in admin the user it belongs to is dissasociated

This support ticket is created 2 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 2 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#2350653

Tell us what you are trying to do?

I find it hard to believe this has happened... but if I edit a CPT entry in admin the user who it was associated with is lost! So the user can then never access the CPT they created if it's ever edited in admin. This can't be allowed to happen and is such a fail.

The steps:
User registers
Creates CPT
On front end they then have access to edit their CPT.

In admin if CPT is edited the user no longer has ability to edit their CPT.

#2350971

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tom,

Thank you for getting in touch.

There are 2 things that could be happening here.

1. Are your posts from your frontend form set to Published or are they being created as draft and an admin goes through and publishes the posts? In this case the post will inherit the user who publishes the post.

2. You have the author option enabled in the CPT settings in Types which will cause the author option to be overwritten by the user who modifies the post.

Please let me know which case applies to you.

Thanks,
Shane

#2351479

Hi Shane,

It seems to have solved itself although that feels worse somehow.

1) No they go straight to published
2) No author was turned off in CPT setting.

Since then I created a few new member CPT posts and tried editing in admin. After about 4 attempts I realised that admin author was actually taking over ownership. I then turned on author in CPT setting to see who the author was and if it could be changed. The author field is blank with no option to select in single CPT view. This is how it remains.

Now randomly it seems to have fixed itself as I can now edit CPT in admin without it taking over ownership from the user who posted it even though author CPT setting is on?

Should I turn off author in CPT settings then? I found this actually quite helpful as it displays author when viewing in CPT archve in admin.

Thank you

#2351789

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tom,

Perhaps there was some form of plugin conflict as your author dropdown should display some of your users.

What you can do is to leave the author settings on and continue to monitor the issue over the next few days to see if it reoccurs.

If it reoccurs then you can provide me with admin access to check on the issue further for you.

Thanks,
Shane

The topic ‘[Closed] After editing CPT in admin the user it belongs to is dissasociated’ is closed to new replies.