Remove unused global. Props filosofo. fixes #13933 for 3.1

git-svn-id: https://develop.svn.wordpress.org/trunk@15313 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-06-24 14:53:26 +00:00
parent 58fb5bb514
commit 3cd056320a
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']) )