[wp-trac] [WordPress Trac] #55439: Introduce term_exists_args filter

WordPress Trac noreply at wordpress.org
Thu Mar 24 10:25:07 UTC 2022


#55439: Introduce term_exists_args filter
-------------------------------------+---------------------------
 Reporter:  Chouby                   |       Owner:  spacedmonkey
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  6.0
Component:  Taxonomy                 |     Version:  trunk
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+---------------------------
Changes (by spacedmonkey):

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


Comment:

 In [changeset:"52987" 52987]:
 {{{
 #!CommitTicketReference repository="" revision="52987"
 Taxonomy: Introduce `term_exists_default_query_args` filter.

 In [52921] `term_exists` was converted to use `get_terms`. This change
 adds a filter called `term_exists_default_query_args`
 to the `term_exists` function to allow developers to modify the arguments
 passed to `get_terms` before the query is run.

 Props Chouby, Spacedmonkey, peterwilsoncc.
 Fixes #55439.
 }}}

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


More information about the wp-trac mailing list