Ticket #34825: 34825.diff
File 34825.diff, 516 bytes (added by , 8 years ago) |
---|
-
src/wp-admin/includes/post.php
1008 1008 $orderby = $q['orderby']; 1009 1009 } elseif ( isset( $q['post_status'] ) && in_array( $q['post_status'], array( 'pending', 'draft' ) ) ) { 1010 1010 $orderby = 'modified'; 1011 } elseif ( ! is_post_type_hierarchical( $post_type )) {1011 } elseif ( 'post' == $post_type ) { 1012 1012 $orderby = 'date'; 1013 1013 } 1014 1014