Changeset 15501 for trunk/wp-admin/includes/default-list-tables.php
- Timestamp:
- 08/16/2010 01:36:21 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/default-list-tables.php
r15500 r15501 63 63 $avail_post_stati = wp_edit_posts_query(); 64 64 65 $this->hierarchical_display = ( $post_type_object->hierarchical && 0 === strpos( get_query_var( 'orderby' ), 'menu_order' ));65 $this->hierarchical_display = ( $post_type_object->hierarchical && 'menu_order title' == $wp_query->query['orderby'] ); 66 66 67 67 $total_items = $this->hierarchical_display ? $wp_query->post_count : $wp_query->found_posts;
Note: See TracChangeset
for help on using the changeset viewer.