[wp-trac] [WordPress Trac] #41796: WP_Term_Query problem using object_ids and number attributes

WordPress Trac noreply at wordpress.org
Fri Sep 15 18:58:26 UTC 2017


#41796: WP_Term_Query problem using object_ids and number attributes
--------------------------+---------------------------
 Reporter:  elvishp2006   |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.9
Component:  Taxonomy      |     Version:  4.8.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------------

Comment (by Otto42):

 > can caching the results be a solution?

 Not if there are no results to cache. The query with DISTINCT simply never
 returns, because it's killed before it can provide any results. Caching
 doesn't fix slow queries, it's more useful for fixing queries that run too
 often.

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


More information about the wp-trac mailing list