Changeset 8011 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 05/29/2008 10:21:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r7967 r8011 22 22 $form_action = 'editpost'; 23 23 $form_extra = "<input type='hidden' id='post_ID' name='post_ID' value='$post_ID' />"; 24 $autosave = wp_get_ autosave( $post_id );24 $autosave = wp_get_post_autosave( $post_id ); 25 25 if ( $autosave && mysql2date( 'U', $autosave->post_modified_gmt ) > mysql2date( 'U', $post->post_modified_gmt ) ) 26 26 $notice = sprintf( $notices[1], get_edit_post_link( $autosave->ID ) );
Note: See TracChangeset
for help on using the changeset viewer.