[wp-hackers] Object terms not caching

Andrew Nacin wp at andrewnacin.com
Thu Sep 9 05:10:30 UTC 2010


On Wed, Sep 8, 2010 at 7:18 PM, John Blackbourn
<johnbillion+wp at gmail.com<johnbillion%2Bwp at gmail.com>
> wrote:

> So my question is, does anyone know if there is a reason why
> update_post_caches() is set not to call update_object_term_cache()
> when the post_type is an array (or set to 'any') instead of just one
> post type?


http://core.trac.wordpress.org/ticket/12989

The reason is that update_object_term_cache() only handles a single post
type currently. Perhaps worth a revisit. Tickets/patches welcome.


More information about the wp-hackers mailing list