[wp-trac] [WordPress Trac] #39354: Unable to filter term query args using `pre_get_terms` action

WordPress Trac noreply at wordpress.org
Wed Dec 21 03:01:34 UTC 2016


#39354: Unable to filter term query args using `pre_get_terms` action
--------------------------+---------------------------
 Reporter:  jfarthing84   |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.8
Component:  Taxonomy      |     Version:  4.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"39625"]:
 {{{
 #!CommitTicketReference repository="" revision="39625"
 Taxonomy: Ensure that mods to query vars in `pre_term_query` callbacks
 have an effect.

 Previously, it was possible to modify the `query_vars` array, but
 the changes would be ignored after `pre_term_query` had finished
 running.

 Props jfarthing84.
 Fixes #39354.
 }}}

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


More information about the wp-trac mailing list