Changeset 11323 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 05/14/2009 02:00:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r11312 r11323 42 42 43 43 // Detect if there exists an autosave newer than the post and if that autosave is different than the post 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 foreach ( _wp_post_revision_fields() as $autosave_field => $_autosave_field ) { 46 46 if ( normalize_whitespace( $autosave->$autosave_field ) != normalize_whitespace( $post->$autosave_field ) ) {
Note: See TracChangeset
for help on using the changeset viewer.