[wp-trac] [WordPress Trac] #50345: Add New User: Don't show roles dropdown if current user can't promote users

WordPress Trac noreply at wordpress.org
Sun Jun 14 17:02:06 UTC 2020


#50345: Add New User: Don't show roles dropdown if current user can't promote users
--------------------------+-----------------------------
 Reporter:  ocean90       |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.5
Component:  Users         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------
Changes (by ocean90):

 * owner:  (none) => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48042" 48042]:
 {{{
 #!CommitTicketReference repository="" revision="48042"
 Users: On the 'Add New User' screen, don't show the roles dropdown if the
 current user can't promote other users.

 Fixes #50345.
 }}}

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


More information about the wp-trac mailing list