]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/network/site-users.php
WordPress 4.1
[autoinstalls/wordpress.git] / wp-admin / network / site-users.php
index a037c8b8710efa388159220f706e33a13861b282..b5a6ab7259116de7dc10213ec543ffb50700fdce 100644 (file)
@@ -133,7 +133,7 @@ if ( $action ) {
 
                                        // If the user doesn't already belong to the blog, bail.
                                        if ( !is_user_member_of_blog( $user_id ) )
-                                               wp_die(__('Cheatin’ uh?'));
+                                               wp_die( __( 'Cheatin’ uh?' ), 403 );
 
                                        $user = get_userdata( $user_id );
                                        $user->set_role( $_REQUEST['new_role'] );