Ticket #40850: class-wp-query.php.diff
File class-wp-query.php.diff, 660 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.8 3152 * 3153 * @param WP_Query &$this The WP_Query instance (passed by reference). 3154 */ 3155 do_action_ref_array( 'loop_no_results', array( &$this ) ); 3147 3156 } 3148 3157 3149 3158 $this->in_the_loop = false;