From 4d39c5894addb757e96d23393642499d588968dc Mon Sep 17 00:00:00 2001 From: markjaquith Date: Thu, 3 Feb 2011 07:23:05 +0000 Subject: [PATCH] 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 --- wp-admin/user-edit.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index fdbf57e039..cf3efd41b9 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -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);