Post revisions from mdawaffe. see #6775

git-svn-id: https://develop.svn.wordpress.org/trunk@7747 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-04-18 23:38:21 +00:00
parent bfcd9e8fc4
commit c72fd439c6
22 changed files with 2698 additions and 9 deletions

View File

@@ -460,6 +460,8 @@ case 'add-user' :
$x->send();
break;
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;