diff --git a/src/wp-includes/class-wp-query.php b/src/wp-includes/class-wp-query.php
index 21127dc755..13f5a0b097 100644
|
a
|
b
|
class WP_Query { |
| 3264 | 3264 | |
| 3265 | 3265 | if ( 'ids' === $q['fields'] ) { |
| 3266 | 3266 | $this->posts = $post_ids; |
| | 3267 | $this->post = $this->next_post() ?? null; |
| 3267 | 3268 | |
| 3268 | 3269 | return $this->posts; |
| 3269 | 3270 | } elseif ( 'id=>parent' === $q['fields'] ) { |
| … |
… |
class WP_Query { |
| 3285 | 3286 | $this->posts[] = $obj; |
| 3286 | 3287 | } |
| 3287 | 3288 | |
| | 3289 | $this->post = $this->next_post() ?? null; |
| | 3290 | |
| 3288 | 3291 | return $post_parents; |
| 3289 | 3292 | } else { |
| 3290 | 3293 | _prime_post_caches( $post_ids, $q['update_post_term_cache'], $q['update_post_meta_cache'] ); |