From 20de3f689a28af6d1780ca5d65df20afba7eadfd Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 6 Jun 2010 15:25:27 +0000 Subject: [PATCH] Check only if is_multisite(). git-svn-id: http://svn.automattic.com/wordpress/trunk@15152 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/users.php b/wp-admin/users.php index cef468e5f..aeaabc3b4 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -77,7 +77,7 @@ case 'promote': } // If the user doesn't already belong to the blog, bail. - if ( !is_user_member_of_blog( $id ) ) + if ( is_multisite() && !is_user_member_of_blog( $id ) ) wp_die(__('Cheatin’ uh?')); $user = new WP_User($id);