Changeset 44339 for branches/5.0/src/wp-admin/includes/post.php
- Timestamp:
- 12/19/2018 10:27:51 PM (6 years ago)
- Location:
- branches/5.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0
-
branches/5.0/src/wp-admin/includes/post.php
r44248 r44339 1087 1087 1088 1088 // Hierarchical types require special args. 1089 if ( is_post_type_hierarchical( $post_type ) && !isset($orderby) ) {1089 if ( is_post_type_hierarchical( $post_type ) && empty( $orderby ) ) { 1090 1090 $query['orderby'] = 'menu_order title'; 1091 1091 $query['order'] = 'asc';
Note: See TracChangeset
for help on using the changeset viewer.