summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin/profile.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-06-13 11:18:16 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-06-13 11:18:16 +0000
commit19b51f30bd324ecb36f99d159947b75c22b6fecf (patch)
tree9423e53c5fddbfca6e4cd05f43c4e1e11bc508b4 /wp-inst/wp-admin/profile.php
parent242d432d82cefdf3aab7135b5298c2db02c9114c (diff)
downloadwordpress-mu-19b51f30bd324ecb36f99d159947b75c22b6fecf.tar.gz
wordpress-mu-19b51f30bd324ecb36f99d159947b75c22b6fecf.tar.xz
wordpress-mu-19b51f30bd324ecb36f99d159947b75c22b6fecf.zip
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@559 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/profile.php')
-rw-r--r--wp-inst/wp-admin/profile.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/wp-inst/wp-admin/profile.php b/wp-inst/wp-admin/profile.php
index 04f2fc4..eb66e07 100644
--- a/wp-inst/wp-admin/profile.php
+++ b/wp-inst/wp-admin/profile.php
@@ -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);