[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:58:48 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        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Seldimi):

 Hello again.
 Sorry for not being specific in post. Well the sql generated from the WP
 Query adds more terns than those I give on arguments

 If you check my attached file you will see an array of  193 term ids I
 want to add on the wp query.
 If you see the generated query, it automatically adds more terms than I
 supplied.

 Eg Term 239 is not on args but it’s on query generated! If I limit terms
 to 191, everything works normal.

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


More information about the wp-trac mailing list