[wp-trac] [WordPress Trac] #16841: Manually created user roles not showing in author dropdown regardless of assigned capabilities

WordPress Trac noreply at wordpress.org
Tue Nov 30 19:23:48 UTC 2021


#16841: Manually created user roles not showing in author dropdown regardless of
assigned capabilities
------------------------------+-----------------------------
 Reporter:  10sexyapples      |       Owner:  hellofromTonya
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.9
Component:  Role/Capability   |     Version:  3.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52290" 52290]:
 {{{
 #!CommitTicketReference repository="" revision="52290"
 Twenty Fourteen: Adjust capability queries when using version before
 WordPress 5.9-alpha.

 As capability queries was introduced in 5.9, this commit allows for
 previous versions by assigning the "who" and unsetting "capability".

 Follow-up to [51943].

 Props johnbillion, swissspidy.
 Fixes #16841.
 }}}

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


More information about the wp-trac mailing list