diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-03-23 17:46:02 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-03-23 17:46:02 +0000 |
commit | 2e96b99ceb195735a641e299f3209840cc101052 (patch) | |
tree | 374954833d10017ae7adb6a031d54fd0dc36f3a2 /wp-admin/user-edit.php | |
parent | bf6a271edebcceb76d6e378156e92fe72c1fbb18 (diff) | |
download | wordpress-mu-2e96b99ceb195735a641e299f3209840cc101052.tar.gz wordpress-mu-2e96b99ceb195735a641e299f3209840cc101052.tar.xz wordpress-mu-2e96b99ceb195735a641e299f3209840cc101052.zip |
Ryan casts an int and catches a fish, someone buy him a pint! merge to 5092
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@933 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/user-edit.php')
-rw-r--r-- | wp-admin/user-edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 6feba01..9760864 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -13,7 +13,7 @@ wp_reset_vars(array('action', 'redirect', 'profile', 'user_id', 'wp_http_referer $wp_http_referer = remove_query_arg(array('update', 'delete_count'), stripslashes($wp_http_referer)); // Only allow site admins to edit every user. if ( !is_site_admin() && ($user_id != $current_user->ID) ) - $errors = new WP_Error('head', __('You do not have permission to edit this user.')); + wp_die('You do not have permission to edit this user.'); $user_id = (int) $user_id; |