diff --git a/wp-admin/ms-edit.php b/wp-admin/ms-edit.php index c2ad779375..42532cd8a8 100644 --- a/wp-admin/ms-edit.php +++ b/wp-admin/ms-edit.php @@ -141,7 +141,7 @@ switch ( $_GET['action'] ) { exit(); break; case 'addblog': - check_admin_referer( 'add-blog', '_wpnonce_add-blog' ); + check_admin_referer( 'add-blog' ); if ( ! current_user_can( 'manage_sites' ) ) wp_die( __( 'You do not have permission to access this page.' ) ); @@ -325,7 +325,7 @@ switch ( $_GET['action'] ) { case 'allblogs': if ( isset( $_POST['doaction']) || isset($_POST['doaction2'] ) ) { - check_admin_referer( 'bulk-ms-sites', '_wpnonce_bulk-ms-sites' ); + check_admin_referer( 'bulk-ms-sites' ); if ( ! current_user_can( 'manage_sites' ) ) wp_die( __( 'You do not have permission to access this page.' ) ); @@ -507,7 +507,7 @@ switch ( $_GET['action'] ) { wp_die( __( 'You do not have permission to access this page.' ) ); if ( isset( $_POST['doaction']) || isset($_POST['doaction2'] ) ) { - check_admin_referer( 'bulk-ms-users', '_wpnonce_bulk-ms-users' ); + check_admin_referer( 'bulk-ms-users' ); if ( $_GET['action'] != -1 || $_POST['action2'] != -1 ) $doaction = $_POST['action'] != -1 ? $_POST['action'] : $_POST['action2']; @@ -590,7 +590,7 @@ switch ( $_GET['action'] ) { break; case 'adduser': - check_admin_referer( 'add-user', '_wpnonce_add-user' ); + check_admin_referer( 'add-user' ); if ( ! current_user_can( 'manage_network_users' ) ) wp_die( __( 'You do not have permission to access this page.' ) ); diff --git a/wp-admin/ms-sites.php b/wp-admin/ms-sites.php index ed7268879e..c67e9d28c9 100644 --- a/wp-admin/ms-sites.php +++ b/wp-admin/ms-sites.php @@ -418,7 +418,7 @@ switch ( $action ) { - + @@ -679,7 +679,7 @@ switch ( $action ) {