WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/07/2010 07:34:18 PM (11 years ago)
Author:
ryan
Message:

First pass of user admin. Network admin and screen cleanups. see #14696

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r15481 r15746  
    3232else
    3333    $submenu_file = 'profile.php';
    34 $parent_file = 'users.php';
     34
     35if ( current_user_can('edit_users') && !is_user_admin() )
     36    $parent_file = 'users.php';
     37else
     38    $parent_file = 'profile.php';
    3539
    3640// contextual help - choose Help on the top right of admin panel to preview this.
Note: See TracChangeset for help on using the changeset viewer.