mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
User management improvements from Mark Jaquith and David House. #2793
git-svn-id: https://develop.svn.wordpress.org/trunk@3857 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3,7 +3,10 @@ require_once('admin.php');
|
||||
|
||||
$title = __('Profile');
|
||||
|
||||
$parent_file = 'profile.php';
|
||||
if ( current_user_can('edit_users') )
|
||||
$parent_file = 'users.php';
|
||||
else
|
||||
$parent_file = 'profile.php';
|
||||
include_once('admin-header.php');
|
||||
$profileuser = new WP_User($user_ID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user