Remove unused global. Props filosofo. fixes #13933 for 3.0.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0a3a6138bb
commit
a00d42965d
|
@ -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