Changeset 11323 for trunk/wp-admin/edit-page-form.php
- Timestamp:
- 05/14/2009 02:00:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-page-form.php
r11312 r11323 42 42 $form_extra = "<input type='hidden' id='post_ID' name='post_ID' value='$post_ID' />"; 43 43 $autosave = wp_get_post_autosave( $post_ID ); 44 if ( $autosave && mysql2date( 'U', $autosave->post_modified_gmt ) > mysql2date( 'U', $post->post_modified_gmt) )44 if ( $autosave && mysql2date( 'U', $autosave->post_modified_gmt, false ) > mysql2date( 'U', $post->post_modified_gmt, false ) ) 45 45 $notice = sprintf( $notices[1], get_edit_post_link( $autosave->ID ) ); 46 46 }
Note: See TracChangeset
for help on using the changeset viewer.