[wp-trac] [WordPress Trac] #42552: Network Users: Don't show edit links for users if the current user cannot edit them
WordPress Trac
noreply at wordpress.org
Wed Nov 15 11:40:43 UTC 2017
#42552: Network Users: Don't show edit links for users if the current user cannot
edit them
--------------------------+-----------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0
Component: Users | Version:
Severity: normal | Keywords: has-patch
Focuses: multisite |
--------------------------+-----------------------
Unlike wp-admin/users.php, the network screen always links the user names
to the edit screen even if the current user cannot edit them. The attached
patch adds the missing `current_user_can( 'edit_user' )` checks.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42552>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list