Changeset 44338
- Timestamp:
- 12/19/2018 10:22:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r44315 r44338 1158 1158 1159 1159 // Hierarchical types require special args. 1160 if ( is_post_type_hierarchical( $post_type ) && ! isset( $orderby ) ) {1160 if ( is_post_type_hierarchical( $post_type ) && empty( $orderby ) ) { 1161 1161 $query['orderby'] = 'menu_order title'; 1162 1162 $query['order'] = 'asc';
Note: See TracChangeset
for help on using the changeset viewer.