Changeset 24671 for trunk/wp-admin/includes/revision.php
- Timestamp:
- 07/12/2013 02:01:39 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/revision.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/revision.php
r24670 r24671 100 100 101 101 // Now, grab the initial diff 102 $compare_two_mode = (bool) $from;103 if ( ! $ from ) // Single mode102 $compare_two_mode = is_numeric( $from ); 103 if ( ! $compare_two_mode ) { 104 104 $from = array_keys( array_slice( $revisions, array_search( $selected_revision_id, array_keys( $revisions ) ) - 1, 1, true ) ); 105 105 $from = $from[0]; 106 } 107 108 $from = absint( $from ); 106 109 107 110 $diffs = array( array(
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)