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:
parent
58fb5bb514
commit
3cd056320a
@ -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']) )
|
||||
|
Loading…
Reference in New Issue
Block a user