Ticket #59224: 59224.diff
File 59224.diff, 536 bytes (added by , 16 months ago) |
---|
-
src/wp-includes/post.php
6091 6091 */ 6092 6092 $query_args = apply_filters( 'get_pages_query_args', $query_args, $parsed_args ); 6093 6093 6094 $ query = new WP_Query( $query_args);6095 $pages = $ query->get_posts();6094 $pages = new WP_Query(); 6095 $pages = $pages->query( $query_args ); 6096 6096 6097 6097 if ( $child_of || $hierarchical ) { 6098 6098 $pages = get_page_children( $child_of, $pages );