Changeset 27690
- Timestamp:
- 03/24/2014 08:31:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r27667 r27690 1469 1469 $post = get_post( $post_id ); 1470 1470 $autosave_is_different = false; 1471 foreach ( array_ keys( _wp_post_revision_fields() ) as $field ) {1471 foreach ( array_intersect( array_keys( $new_autosave ), array_keys( _wp_post_revision_fields() ) ) as $field ) { 1472 1472 if ( normalize_whitespace( $new_autosave[ $field ] ) != normalize_whitespace( $post->$field ) ) { 1473 1473 $autosave_is_different = true;
Note: See TracChangeset
for help on using the changeset viewer.