mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -31,7 +31,11 @@ if ( current_user_can('edit_users') && !IS_PROFILE_PAGE )
|
||||
$submenu_file = 'users.php';
|
||||
else
|
||||
$submenu_file = 'profile.php';
|
||||
$parent_file = 'users.php';
|
||||
|
||||
if ( current_user_can('edit_users') && !is_user_admin() )
|
||||
$parent_file = 'users.php';
|
||||
else
|
||||
$parent_file = 'profile.php';
|
||||
|
||||
// contextual help - choose Help on the top right of admin panel to preview this.
|
||||
add_contextual_help($current_screen,
|
||||
|
||||
Reference in New Issue
Block a user