mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Remove unused/non-functional code with old-style CSRF checking. see #16499
git-svn-id: http://svn.automattic.com/wordpress/trunk@17381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c08a6a4044
commit
4d39c5894a
@ -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