mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
This makes things a little more interesting and cacheable (sp?)
git-svn-id: https://develop.svn.wordpress.org/trunk@4517 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1012,9 +1012,10 @@ class WP_Query {
|
||||
}
|
||||
}
|
||||
|
||||
$this->posts = apply_filters('the_posts', $this->posts);
|
||||
|
||||
update_post_caches($this->posts);
|
||||
|
||||
$this->posts = apply_filters('the_posts', $this->posts);
|
||||
$this->post_count = count($this->posts);
|
||||
if ($this->post_count > 0) {
|
||||
$this->post = $this->posts[0];
|
||||
|
||||
Reference in New Issue
Block a user