|
@@ 3621-3631 (lines=11) @@
|
| 3618 |
|
if ( $this->posts ) |
| 3619 |
|
$this->posts = array_map( 'get_post', $this->posts ); |
| 3620 |
|
|
| 3621 |
|
if ( ! $q['suppress_filters'] ) { |
| 3622 |
|
/** |
| 3623 |
|
* Filter the raw post results array, prior to status checks. |
| 3624 |
|
* |
| 3625 |
|
* @since 2.3.0 |
| 3626 |
|
* |
| 3627 |
|
* @param array $posts The post results array. |
| 3628 |
|
* @param WP_Query &$this The WP_Query instance (passed by reference). |
| 3629 |
|
*/ |
| 3630 |
|
$this->posts = apply_filters_ref_array( 'posts_results', array( $this->posts, &$this ) ); |
| 3631 |
|
} |
| 3632 |
|
|
| 3633 |
|
if ( !empty($this->posts) && $this->is_comment_feed && $this->is_singular ) { |
| 3634 |
|
/** This filter is documented in wp-includes/query.php */ |
|
@@ 3752-3763 (lines=12) @@
|
| 3749 |
|
wp_queue_comments_for_comment_meta_lazyload( $this->comments ); |
| 3750 |
|
} |
| 3751 |
|
|
| 3752 |
|
if ( ! $q['suppress_filters'] ) { |
| 3753 |
|
/** |
| 3754 |
|
* Filter the array of retrieved posts after they've been fetched and |
| 3755 |
|
* internally processed. |
| 3756 |
|
* |
| 3757 |
|
* @since 1.5.0 |
| 3758 |
|
* |
| 3759 |
|
* @param array $posts The array of retrieved posts. |
| 3760 |
|
* @param WP_Query &$this The WP_Query instance (passed by reference). |
| 3761 |
|
*/ |
| 3762 |
|
$this->posts = apply_filters_ref_array( 'the_posts', array( $this->posts, &$this ) ); |
| 3763 |
|
} |
| 3764 |
|
|
| 3765 |
|
// Ensure that any posts added/modified via one of the filters above are |
| 3766 |
|
// of the type WP_Post and are filtered. |