[wp-trac] [WordPress Trac] #16706: Queries using "category__and" are slow on large databases

WordPress Trac noreply at wordpress.org
Sat Jan 31 10:13:20 UTC 2026


#16706: Queries using "category__and" are slow on large databases
-------------------------------------------------+-------------------------
 Reporter:  tigertech                            |       Owner:  chriscct7
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:
Component:  Query                                |     Version:  3.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-refresh bulk-        |     Focuses:
  reopened                                       |  performance
-------------------------------------------------+-------------------------
Changes (by huzaifaalmesbah):

 * keywords:  has-patch needs-testing needs-refresh bulk-reopened => has-
     patch needs-refresh bulk-reopened


Comment:

 Tested `16706.2.diff` against current `trunk` (7.0-alpha-61215-src).

 The patch does not apply cleanly. Hunks failed in `wp-
 includes/taxonomy.php`, and a reject file was generated.

 Given the age of this patch (~15 years old) and significant changes to
 taxonomy/query internals since then, it appears outdated and needs a
 refresh before meaningful testing can be done.

 Removed `needs-testing`. This ticket already has `needs-refresh`.

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


More information about the wp-trac mailing list