[wp-trac] [WordPress Trac] #36951: Lost param $term_query in get_terms filter

WordPress Trac noreply at wordpress.org
Thu May 26 14:55:43 UTC 2016


#36951: Lost param $term_query in get_terms filter
------------------------------+---------------------------
 Reporter:  sebastian.pisula  |       Owner:  boonebgorges
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.6
Component:  Taxonomy          |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+---------------------------
Changes (by boonebgorges):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37576"]:
 {{{
 #!CommitTicketReference repository="" revision="37576"
 Pass the proper values to `get_terms` action.

 * `$term_query` should be passed.
 * Second and third params should come from the `$term_query->query_vars`
 array, so that they're fully parsed.

 These changes were missed in [37572].

 Props flixos90, sebastian.pisula.
 See #35381.
 Fixes #36951.
 }}}

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


More information about the wp-trac mailing list