Remove unused/non-functional code with old-style CSRF checking. see #16499
git-svn-id: https://develop.svn.wordpress.org/trunk@17381 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5b5b5e7747
commit
0c02c273cb
@ -97,14 +97,6 @@ if ( is_multisite() && IS_PROFILE_PAGE && isset( $_GET[ 'newuseremail' ] ) && $c
|
||||
}
|
||||
|
||||
switch ($action) {
|
||||
case 'switchposts':
|
||||
|
||||
check_admin_referer();
|
||||
|
||||
/* TODO: Switch all posts from one user to another user */
|
||||
|
||||
break;
|
||||
|
||||
case 'update':
|
||||
|
||||
check_admin_referer('update-user_' . $user_id);
|
||||
|
Loading…
Reference in New Issue
Block a user