Changeset 34925 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 10/08/2015 01:03:39 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r34917 r34925 1657 1657 $post = get_post( $post_id ); 1658 1658 $autosave_is_different = false; 1659 foreach ( array_intersect( array_keys( $new_autosave ), array_keys( _wp_post_revision_fields( $post) ) ) as $field ) {1659 foreach ( array_intersect( array_keys( $new_autosave ), array_keys( _wp_post_revision_fields() ) ) as $field ) { 1660 1660 if ( normalize_whitespace( $new_autosave[ $field ] ) != normalize_whitespace( $post->$field ) ) { 1661 1661 $autosave_is_different = true;
Note: See TracChangeset
for help on using the changeset viewer.