Changeset 25263 for trunk/src/wp-includes/rewrite.php
- Timestamp:
- 09/05/2013 09:52:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rewrite.php
r25258 r25263 830 830 831 831 //get pages in order of hierarchy, i.e. children after parents 832 $posts = get_page_hierarchy( $wpdb->get_results("SELECT ID, post_name, post_parent FROM $wpdb->posts WHERE post_type = 'page' AND post_status != 'auto-draft'") ); 832 $pages = $wpdb->get_results("SELECT ID, post_name, post_parent FROM $wpdb->posts WHERE post_type = 'page' AND post_status != 'auto-draft'"); 833 $posts = get_page_hierarchy( $pages ); 833 834 834 835 // If we have no pages get out quick
Note: See TracChangeset
for help on using the changeset viewer.