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

WordPress Trac noreply at wordpress.org
Sat Apr 15 13:08:10 UTC 2017


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

 * keywords:  has-patch => has-patch needs-unit-tests
 * owner:   => johnbillion
 * status:  new => reviewing
 * milestone:  Awaiting Review => 4.8


Comment:

 Thanks for the patch, @Soean.

 We should add a test for this in the `Tests_AdminBar` test class.

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


More information about the wp-trac mailing list