Changeset 47372 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 02/25/2020 07:33:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r47222 r47372 1830 1830 $autosave_is_different = false; 1831 1831 foreach ( array_intersect( array_keys( $new_autosave ), array_keys( _wp_post_revision_fields( $post ) ) ) as $field ) { 1832 if ( normalize_whitespace( $new_autosave[ $field ] ) != normalize_whitespace( $post->$field ) ) {1832 if ( normalize_whitespace( $new_autosave[ $field ] ) !== normalize_whitespace( $post->$field ) ) { 1833 1833 $autosave_is_different = true; 1834 1834 break;
Note: See TracChangeset
for help on using the changeset viewer.