Ticket #41446: 41446.patch
File 41446.patch, 478 bytes (added by , 7 years ago) |
---|
-
wp-includes/class-wp-query.php
3206 3206 */ 3207 3207 public function rewind_posts() { 3208 3208 $this->current_post = -1; 3209 if ( $this->post_count > 0) {3209 if ( !empty( $this->post_count ) && isset( $this->posts[0] ) && $this->post_count > 0 ) { 3210 3210 $this->post = $this->posts[0]; 3211 3211 } 3212 3212 }