[wp-trac] [WordPress Trac] #46281: WP Query breaks if there are term_ids in tax_query are more than 192
WordPress Trac
noreply at wordpress.org
Tue Feb 19 16:30:06 UTC 2019
#46281: WP Query breaks if there are term_ids in tax_query are more than 192
--------------------------+-----------------------------
Reporter: Seldimi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.0.3
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hello.
I have faced a very wired issue. I am using a WP_Query to get custom posts
(more specific 'product') with a tax query of around 193 term_ids as array
as NOT IN. The wired problem is that WordPress adds odd term_ids in the
$query->request... It works great until I have 192 term_ids, but if I add
more, the query gets wired and blocks everything.
I am attaching the args and the query on a txt file.
Check that I dont filter term_category 239 but you will see it in request
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46281>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list