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
This commit is contained in:
ryan 2010-06-24 14:53:26 +00:00
parent 6582f99bf2
commit 2468b66784
1 changed files with 0 additions and 1 deletions

View File

@ -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']) )