Changeset 8011 for trunk/wp-admin/admin-ajax.php
- Timestamp:
- 05/29/2008 10:21:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r7971 r8011 520 520 $id = edit_post(); 521 521 } else { // Non drafts are not overwritten. The autosave is stored in a special post revision. 522 $revision_id = wp_create_ autosave( $post->ID );522 $revision_id = wp_create_post_autosave( $post->ID ); 523 523 if ( is_wp_error($revision_id) ) 524 524 $id = $revision_id;
Note: See TracChangeset
for help on using the changeset viewer.