Ticket #34825: 34825-2.patch
| File 34825-2.patch, 510 bytes (added by , 10 years ago) |
|---|
-
wp-admin/includes/post.php
diff --git wp-admin/includes/post.php wp-admin/includes/post.php index 1483108..18e27af 100644
function wp_edit_posts_query( $q = false ) { 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