[wp-trac] [WordPress Trac] #35381: Introduce `WP_Term_Query`

WordPress Trac noreply at wordpress.org
Thu May 26 08:02:02 UTC 2016


#35381: Introduce `WP_Term_Query`
--------------------------------------------------+------------------
 Reporter:  boonebgorges                          |       Owner:
     Type:  defect (bug)                          |      Status:  new
 Priority:  normal                                |   Milestone:  4.6
Component:  Taxonomy                              |     Version:
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch needs-testing dev-feedback  |     Focuses:
--------------------------------------------------+------------------

Comment (by flixos90):

 @boonebgorges I think you forgot to add the `$term_query` variable to the
 filter in [changeset:37572]. :)

 One other thing I'm curious about is why you changed the filter arguments
 to use `$args` and `$taxonomies` instead of relying on the query vars from
 `WP_Term_Query` like you did in [attachment:35381.2.diff]. Or is that only
 because you missed that line? I thought the way in the patch was better
 because that way `$args` was filled with its defaults.

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


More information about the wp-trac mailing list