summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin/profile.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-07-18 09:16:34 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-07-18 09:16:34 +0000
commit3d22aa49e07b92dab07b1f9d6a8a66fb6ab20bdc (patch)
tree1bc483947163c7351f73b2c62a69ef774e021775 /wp-inst/wp-admin/profile.php
parent9d3f6c7b7452785bd585424238dd29f9d7369480 (diff)
downloadwordpress-mu-3d22aa49e07b92dab07b1f9d6a8a66fb6ab20bdc.tar.gz
wordpress-mu-3d22aa49e07b92dab07b1f9d6a8a66fb6ab20bdc.tar.xz
wordpress-mu-3d22aa49e07b92dab07b1f9d6a8a66fb6ab20bdc.zip
Merge from WP Core.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@31 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/profile.php')
-rw-r--r--wp-inst/wp-admin/profile.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/wp-inst/wp-admin/profile.php b/wp-inst/wp-admin/profile.php
index 66ec010..ce5fd85 100644
--- a/wp-inst/wp-admin/profile.php
+++ b/wp-inst/wp-admin/profile.php
@@ -58,8 +58,6 @@ break;
case 'update':
- get_currentuserinfo();
-
/* checking the nickname has been typed */
if (empty($_POST["newuser_nickname"])) {
die (__("<strong>ERROR</strong>: please enter your nickname (can be the same as your username)"));
@@ -276,7 +274,7 @@ if ( $show_password_fields ) :
</div>
-<?php if ($is_gecko && $profiledata->user_level != 0) { ?>
+<?php if ( $is_gecko && current_user_can('edit_posts') ) { ?>
<div class="wrap">
<script type="text/javascript">
//<![CDATA[