-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The post author does not show up, nor is selected in the sidebar controls #54326
Comments
Hi, |
Hi, |
Thanks for the report, but I did not replicate it. I tested with the steps below.
Could you tell me what roles you applied to the user you created? |
Hi! Thanks for looking into this. Try changing the role for the user that created the post. When you open the post again, it does not show who created it, and also when you save the author user is lost. |
I tried the following steps, but I still couldn't reproduce it. Am I missing something?
|
Editor 1 creates the post. Then editor 1 is demoted to subscriber for example. When you are an admin and edit the post that editor 1 created, editor 1 is not in the list and when saving the post the admin becomes the author of the post, which is not correct. As far as I recall, the only place where an admin takes over the posts of other users is when the user account is deleted, mostly as a fallback, but authorship should not be removed in the workflow because of the user role change. To avoid this, perhaps the author dropdown needs to have all users with edit post capabilities plus the current post author. |
@Sisanu Thank you for explaining in detail.
With these steps, I was able to reproduce the problem. If I enable the Classic Editor plugin, all users will be visible, even if the user who created the post has been demoted to subscriber.
I think this approach is probably correct. Posts that have already been created should include the user who created the post, regardless of their roles. Here's how it works in the Classic Editor:
|
Description
The post author does not show up, nor is selected in the sidebar controls
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: