[wp-trac] [WordPress Trac] #21309: Introduce WP_Post class
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 24 20:36:02 UTC 2012
#21309: Introduce WP_Post class
----------------------------+------------------
Reporter: scribu | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.5
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------
Comment (by ryan):
In [21981]:
{{{
#!CommitTicketReference repository="" revision="21981"
Fetch full terms for the post_category and tags_input queries and then
wp_list_pluck() the desired fields. Fetching full terms primes the cache
and reduces overall queries. Add cache invalidation to
wp_set_post_terms(). Props scribu. see #21309
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21309#comment:76>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list