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

WordPress Trac noreply at wordpress.org
Fri Feb 10 14:36:43 UTC 2017


#16841: Manually created user roles not showing in author dropdown regardless of
assigned capabilities
------------------------------------------+-----------------------------
 Reporter:  10sexyapples                  |       Owner:  swissspidy
     Type:  defect (bug)                  |      Status:  assigned
 Priority:  normal                        |   Milestone:  Future Release
Component:  Role/Capability               |     Version:  3.1
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------
Changes (by swissspidy):

 * owner:   => swissspidy
 * status:  new => assigned


Comment:

 Just stumbled upon this whole user level handling now. Fun. I'll try to
 find some time to look into it properly.

 Even just using a role query in `post_author_meta_box()` would already be
 a huge improvement, but I can see the benefits of capability queries.

 By the way, for anyone using the Members plugin, `add_filter(
 'members_remove_old_levels', '__return_false' );` should help there.

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


More information about the wp-trac mailing list