Changeset 35819 for branches/4.4/src/wp-admin/includes/post.php
- Timestamp:
- 12/07/2015 08:07:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4/src/wp-admin/includes/post.php
r35567 r35819 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 ) ) {1012 $orderby = 'date';1013 1011 } 1014 1012 … … 1017 1015 } elseif ( isset( $q['post_status'] ) && 'pending' == $q['post_status'] ) { 1018 1016 $order = 'ASC'; 1019 } else {1020 $order = 'desc';1021 1017 } 1022 1018
Note: See TracChangeset
for help on using the changeset viewer.