[wp-trac] [WordPress Trac] #56429: Gutenberg author box missing

WordPress Trac noreply at wordpress.org
Wed Aug 24 14:03:31 UTC 2022


#56429: Gutenberg author box missing
----------------------------------------+-----------------------------
 Reporter:  lgadzhev                    |      Owner:  (none)
     Type:  defect (bug)                |     Status:  new
 Priority:  normal                      |  Milestone:  Awaiting Review
Component:  Editor                      |    Version:  6.0.1
 Severity:  normal                      |   Keywords:  needs-patch
  Focuses:  javascript, administration  |
----------------------------------------+-----------------------------
 There is a bug related to the author box missing when all of the following
 conditions are true:

 - When there are more than 70 users in a WP installation
 - When an Editor creates a post and saves it as a draft. This must be the
 only post of that user
 - If all the users are ordered alphabetically, that user must be above 60
 in the order

 When this is true, if another Editor opens that draft, the author box
 won't be visible. There is an additional request that should fetch that
 user and it's returning error 403

 If Administrator opens it, the author box is present

 The cause for the bug is the last condition that fails here -
 https://github.com/WordPress/WordPress/blob/master/wp-includes/rest-
 api/endpoints/class-wp-rest-users-controller.php#L445 because the function
 checks for the author of the post

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


More information about the wp-trac mailing list