[wp-trac] [WordPress Trac] #54982: In 5.9 (classic) post editor the author pulldown only lists users with "can_edit" capability

WordPress Trac noreply at wordpress.org
Fri Jan 28 21:52:56 UTC 2022


#54982: In 5.9 (classic) post editor the author pulldown only lists users with
"can_edit" capability
--------------------------+-----------------------------
 Reporter:  joneiseman    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  5.9
 Severity:  major         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In WordPress 5.9 in the classic editor when editing a post, the “Author”
 pulldown only shows the administrators. In 5.8.3 it listed all of the
 authors (and contributors). Here’s the screenshot from 5.9 when using the
 classic editor: https://photos.app.goo.gl/zQjK441TmNKL2wJf9
 It still shows all the authors (in 5.9) when I switch to the block editor.
 Here’s the screenshot using 5.9 with the block editor:
 https://photos.app.goo.gl/ZAiT1gdDHT9F6RLF7

 In 5.8.3 it lists all of the Authors in the Author dropdown when using the
 classic editor:
 https://photos.app.goo.gl/qkyn4Bi3X3oDz3537

 It looks like this was due to a change in the function
 post_author_meta_box in the file src/wp-admin/includes/meta-boxes.php
 It used to display all of the authors and contributors regardless of their
 capabilities and now it only displays users that have the "edit_posts"
 capability.

 Here's the commit that introduced the problem:
 https://github.com/WordPress/wordpress-
 develop/commit/0cf6d3e48d18b4e8cb932fa02bb82bf5de14a48c

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


More information about the wp-trac mailing list