Ticket #26042: 26042.diff
File 26042.diff, 570 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/revision.php
372 372 if ( ! $post || empty( $post->ID ) ) 373 373 return array(); 374 374 375 $defaults = array( 'order' => 'DESC', 'orderby' => ' date', 'check_enabled' => true );375 $defaults = array( 'order' => 'DESC', 'orderby' => 'ID', 'check_enabled' => true ); 376 376 $args = wp_parse_args( $args, $defaults ); 377 377 378 378 if ( $args['check_enabled'] && ! wp_revisions_enabled( $post ) )