[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 17:23:53 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             |  Resolution:
 Keywords:  2nd-opinion        |     Focuses:
-------------------------------+------------------------------

Comment (by knutsp):

 Have seen this. The select control is dangerous because when the stored
 value is not in the list (of acceptable values) the first element is shown
 as current, which is false. On plain implementations it will also save.

 IMHO, all selections lists should either be merged with the actual stored
 value, or make it invalid, forcing the user to select a valid item.

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


More information about the wp-trac mailing list