WordPress.org

Make WordPress Core

Ticket #9500: cache_fix.patch

File cache_fix.patch, 475 bytes (added by Antiarc, 6 years ago)
  • query.php

     
    23292329                        } 
    23302330                } 
    23312331 
     2332                update_post_caches($this->posts); 
     2333                 
    23322334                if ( !$q['suppress_filters'] ) 
    23332335                        $this->posts = apply_filters('the_posts', $this->posts); 
    23342336 
    2335                 update_post_caches($this->posts); 
    2336  
    23372337                $this->post_count = count($this->posts); 
    23382338                if ($this->post_count > 0) { 
    23392339                        $this->post = $this->posts[0];