[wp-trac] [WordPress Trac] #18778: Add filters to transform_query() to allow caching of queries created by this function.

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 5 08:59:53 UTC 2011


#18778: Add filters to transform_query() to allow caching of queries created by
this function.
-----------------------------------+------------------------------
 Reporter:  tott                   |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Taxonomy               |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------------------

Comment (by westi):

 The filter names here don't make sense to me.

 If the idea (as it seems it is) is to suppress the code from running the
 queries that I would expect "suppress" to be in the name of the filter.

 However, I'm not sure yet this is even the right place to be doing the
 suppression - maybe we should be doing it where we call the function
 instead?

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


More information about the wp-trac mailing list