Ticket #40850: class-wp-query.php.2.diff
File class-wp-query.php.2.diff, 619 bytes (added by , 7 years ago) |
---|
-
wp-includes/class-wp-query.php
3144 3144 do_action_ref_array( 'loop_end', array( &$this ) ); 3145 3145 // Do some cleaning up after the loop 3146 3146 $this->rewind_posts(); 3147 } elseif ( 0 === $this->post_count ) { 3148 /** 3149 * Fires if no results are found. 3150 * 3151 * @since 4.9.0 3152 * 3153 * @param WP_Query $this The WP_Query instance. 3154 */ 3155 do_action( 'loop_no_results', $this ); 3147 3156 } 3148 3157 3149 3158 $this->in_the_loop = false;