Ticket #56721: 56721.diff
| File 56721.diff, 392 bytes (added by , 4 years ago) |
|---|
-
src/wp-includes/post.php
5787 5787 'order' => 'ASC', 5788 5788 ); 5789 5789 $query = new WP_Query( $args ); 5790 $pages = $query-> get_posts();5790 $pages = $query->posts; 5791 5791 5792 5792 if ( empty( $pages ) ) { 5793 5793 return null;