[wp-trac] [WordPress Trac] #39201: Replace current_user_can( 'manage_network_users' ) in wp-admin/includes/ajax-actions.php and wp-admin/user-new.php (line 228)

WordPress Trac noreply at wordpress.org
Fri Jan 20 17:42:24 UTC 2017


#39201: Replace current_user_can( 'manage_network_users' ) in wp-admin/includes
/ajax-actions.php and wp-admin/user-new.php (line 228)
-----------------------------+------------------------
 Reporter:  ashokkumar24     |       Owner:  flixos90
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  4.8
Component:  Role/Capability  |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:  multisite
-----------------------------+------------------------
Changes (by flixos90):

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


Comment:

 In [changeset:"39934"]:
 {{{
 #!CommitTicketReference repository="" revision="39934"
 Multisite: Replace `is_super_admin()` with `manage_network_users` when
 checking for users autocomplete capabilities.

 Props ashokkumar24.
 Fixes #39201. See #37616.
 }}}

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


More information about the wp-trac mailing list