diff -Naur wordpress/wp-includes/class-wp-query.php wordpress/wp-includes/class-wp-query.php
|
|
|
|
| 2763 | 2763 | $this->posts = array_map( 'intval', $this->posts ); |
| 2764 | 2764 | $this->post_count = count( $this->posts ); |
| 2765 | 2765 | $this->set_found_posts( $q, $limits ); |
| | 2766 | $post = $this->next_post(); |
| 2766 | 2767 | |
| 2767 | 2768 | return $this->posts; |
| 2768 | 2769 | } |
| … |
… |
|
| 2774 | 2775 | |
| 2775 | 2776 | $this->post_count = count( $this->posts ); |
| 2776 | 2777 | $this->set_found_posts( $q, $limits ); |
| 2777 | | |
| | 2778 | $post = $this->next_post(); |
| | 2779 | |
| 2778 | 2780 | $r = array(); |
| 2779 | 2781 | foreach ( $this->posts as $key => $post ) { |
| 2780 | 2782 | $this->posts[ $key ]->ID = (int) $post->ID; |