[wp-trac] [WordPress Trac] #39252: Admin Bar shows "Add User" link to users without 'create_users' cap

WordPress Trac noreply at wordpress.org
Sun May 7 17:41:28 UTC 2017


#39252: Admin Bar shows "Add User" link to users without 'create_users' cap
--------------------------------------+--------------------------
 Reporter:  dlh                       |       Owner:  johnbillion
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.8
Component:  Users                     |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------
Changes (by johnbillion):

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


Comment:

 In [changeset:"40581"]:
 {{{
 #!CommitTicketReference repository="" revision="40581"
 Users: Correct a permission check when showing the User item in the `+
 New` admin toolbar menu.

 Props dlh
 Fixes #39252
 }}}

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


More information about the wp-trac mailing list