[wp-trac] [WordPress Trac] #42104: Tax query transformations unintentionally filtered by 'terms_clauses'

WordPress Trac noreply at wordpress.org
Thu Mar 17 14:26:36 UTC 2022


#42104: Tax query transformations unintentionally filtered by 'terms_clauses'
--------------------------+------------------------------
 Reporter:  Chouby        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by Chouby):

 To be consistent with what has been done with the filter
 `wp_get_object_terms_args` and the filter `get_term_by_args` I proposed in
 #54534 and `term_exists_args` I proposed in
 https://core.trac.wordpress.org/ticket/36949#comment:35, I propose to
 handle the issue by introducing a new filter `transform_query_args`.

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


More information about the wp-trac mailing list