WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/18/2008 11:38:21 PM (13 years ago)
Author:
ryan
Message:

Post revisions from mdawaffe. see #6775

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r7660 r7747  
    461461    break;
    462462case 'autosave' : // The name of this action is hardcoded in edit_post()
     463    define( 'DOING_AUTOSAVE', true );
     464
    463465    $nonce_age = check_ajax_referer( 'autosave', 'autosavenonce');
    464466    global $current_user;
Note: See TracChangeset for help on using the changeset viewer.