[wp-trac] [WordPress Trac] #48512: Post editor can show wrong author, if user role was changed

WordPress Trac noreply at wordpress.org
Wed Nov 6 14:29:47 UTC 2019


#48512: Post editor can show wrong author, if user role was changed
-------------------------------+-----------------------------
 Reporter:  equin0x80          |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 * Go to Add New User. Create a new user who is a Contributor.
 * Go to Add New Post. Type any random text as the content. Set the Author
 (in the dropdown list) to the author you just created. Save the post.
 * Go to the user you created, and change their role to "No role".
 * Go back to Posts, and find the post you created. Edit it.
 * Observe that the Author dropdown now shows the wrong author, since the
 user is no longer eligible to appear in the dropdown list.
 * Fortunately, even if you edit and save the post, it does not actually
 overwrite the correct author with the wrong one. Still, the display is
 very misleading. A bug in my opinion.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48512>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list