[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 Oct 6 20:45:27 UTC 2020


#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:
------------------------------------------+-----------------------------

Comment (by jdorner):

 If you are having the problem of users with a custom user role not being
 displayed as an option in the wp_dropdown_users list, you can change their
 role to any role other than subscriber(?) and then back. This will add a
 [wp_]user_level value other than 0 to their usermeta and they will be
 displayed.

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


More information about the wp-trac mailing list