[wp-trac] [WordPress Trac] #43796: User Role with integer role name not showing in admin filter list

WordPress Trac noreply at wordpress.org
Wed Apr 18 18:11:13 UTC 2018


#43796: User Role with integer role name not showing in admin filter list
-------------------------------------------+------------------------------
 Reporter:  aiyaz                          |       Owner:  (none)
     Type:  defect (bug)                   |      Status:  new
 Priority:  lowest                         |   Milestone:  Awaiting Review
Component:  Users                          |     Version:  4.9
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch reporter-feedback  |     Focuses:  administration
-------------------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:  needs-patch => needs-patch reporter-feedback
 * priority:  normal => lowest


Comment:

 What's the use case for using an integer as a role name?

 Note that the `$role` parameter of the `add_role()` function expects a
 string.

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


More information about the wp-trac mailing list