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:
Ryan Boren
2006-06-08 18:36:05 +00:00
parent eae22f445e
commit a4c408af37
7 changed files with 310 additions and 141 deletions
+4 -1
View File
@@ -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);