From 0c02c273cb60ffaade01f5c85753220f17150b6d Mon Sep 17 00:00:00 2001 From: Mark Jaquith 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: https://develop.svn.wordpress.org/trunk@17381 602fd350-edb4-49c9-b593-d223f7449a82 --- 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);