From 2468b667845f490291453962e66c34fc1c35513f Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 24 Jun 2010 14:53:26 +0000 Subject: [PATCH] Remove unused global. Props filosofo. fixes #13933 for 3.1 git-svn-id: http://svn.automattic.com/wordpress/trunk@15313 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-ajax.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php index a4ba6e1dc..0997c7626 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -956,7 +956,6 @@ case 'autosave' : // The name of this action is hardcoded in edit_post() define( 'DOING_AUTOSAVE', true ); $nonce_age = check_ajax_referer( 'autosave', 'autosavenonce' ); - global $current_user; $_POST['post_category'] = explode(",", $_POST['catslist']); if ( $_POST['post_type'] == 'page' || empty($_POST['post_category']) )