[wp-trac] [WordPress Trac] #38589: hook 'get_terms_args' calls two times ...

WordPress Trac noreply at wordpress.org
Mon Oct 31 15:43:02 UTC 2016


#38589: hook 'get_terms_args' calls two times ...
--------------------------+------------------
 Reporter:  Tkama         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7
Component:  Taxonomy      |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------

Comment (by flixos90):

 @boonebgorges: I must have accidentally introduced it. I agree that the
 occurrence in `WP_Term_Query::parse_query()` should be removed, since the
 name of the filter indicates it is used when `get_terms()` is run and
 furthermore since other query classes don't have such a filter in their
 `parse_query()` method.

 Good catch @Tkama!

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


More information about the wp-trac mailing list