[wp-trac] [WordPress Trac] #21279: get_pages() does not clear cache items when non-Page hierarchical post types are updated

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 15 06:44:51 UTC 2012


#21279: get_pages() does not clear cache items when non-Page hierarchical post
types are updated
-----------------------------------+------------------
 Reporter:  markjaquith            |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  high                   |   Milestone:  3.5
Component:  Cache                  |     Version:
 Severity:  major                  |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------
Changes (by markjaquith):

 * keywords:   => has-patch 2nd-opinion


Comment:

 That patch is the easy approach — just clear the cache for any
 hierarchical post type. Should we bother segmenting by post_type? What
 about queries with multiple post_types? Put those in a general bucket? Or
 shouldn't we bother?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21279#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list