WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/06/2010 10:07:57 AM (12 years ago)
Author:
markjaquith
Message:

Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r12817 r12987  
    100100    ) );
    101101
    102     $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), '20091012' );
     102    $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), '20100205' );
    103103    $scripts->add_data( 'autosave', 'group', 1 );
    104104
Note: See TracChangeset for help on using the changeset viewer.