Ticket #24346: 24346.diff
File 24346.diff, 941 bytes (added by , 12 years ago) |
---|
-
wp-admin/includes/ajax-actions.php
2208 2208 if ( ( ( 0 != $left_handle_at && $count < $left_handle_at ) || 2209 2209 ( 0 != $right_handle_at && $count > ( $right_handle_at - 2 ) ) ) ) { 2210 2210 $all_the_revisions[] = array ( 2211 'ID' => $revision->ID, 2211 'ID' => $revision->ID, 2212 'completed' => true, //mark as completed, no need to load diff 2212 2213 ); 2213 2214 continue; 2214 2215 } … … 2216 2217 if ( ( 0 != $left_handle_at && $count > ( $left_handle_at - 1 ) || 2217 2218 ( 0 != $left_handle_at && $count < $right_handle_at ) ) ) { 2218 2219 $all_the_revisions[] = array ( 2219 'ID' => $revision->ID, 2220 'ID' => $revision->ID, 2221 'completed' => true, //mark as completed, no need to load diff 2220 2222 ); 2221 2223 continue; 2222 2224 }