Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #41446, comment 1


Ignore:
Timestamp:
07/26/2017 11:19:35 AM (8 years ago)
Author:
umangvaghela123
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41446, comment 1

    v3 v4  
    55public function rewind_posts() {
    66        $this->current_post = -1;
    7         if ( isset( $this->posts[0] ) && !empty( $this->post_count ) && $this->post_count > 0   ) {
     7        if ( isset( $this->posts[0] ) && !empty( $this->post_count ) && $this->post_count > 0  ) {
    88                $this->post = $this->posts[0];
    99        }