Changeset 47557 for trunk/src/wp-admin/includes/revision.php
- Timestamp:
- 04/09/2020 03:41:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/revision.php
r47122 r47557 315 315 $compare_two_mode = is_numeric( $from ); 316 316 if ( ! $compare_two_mode ) { 317 $found = array_search( $selected_revision_id, array_keys( $revisions ) );317 $found = array_search( $selected_revision_id, array_keys( $revisions ), true ); 318 318 if ( $found ) { 319 319 $from = array_keys( array_slice( $revisions, $found - 1, 1, true ) );
Note: See TracChangeset
for help on using the changeset viewer.