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

WordPress Trac noreply at wordpress.org
Sat Oct 11 01:53:26 UTC 2014


#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
Component:  Taxonomy                             |  Review
 Severity:  normal                               |     Version:
 Keywords:  2nd-opinion reporter-feedback        |  Resolution:
  needs-patch needs-unit-tests                   |     Focuses:
-------------------------------------------------+-------------------------
Changes (by boonebgorges):

 * keywords:  has-patch 2nd-opinion reporter-feedback => 2nd-opinion
     reporter-feedback needs-patch needs-unit-tests


Comment:

 Putting filters on SQL strings is not great for forward compatibility. If
 the root problem is that the underlying queries are not cached, then
 WordPress should cache them.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18778#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list