[wp-trac] [WordPress Trac] #36949: Term exists should use get_terms internally

WordPress Trac noreply at wordpress.org
Mon Mar 21 02:21:02 UTC 2022

#36949: Term exists should use get_terms internally
 Reporter:  spacedmonkey    |       Owner:  spacedmonkey
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  6.0
Component:  Taxonomy        |     Version:  2.3
 Severity:  normal          |  Resolution:
 Keywords:  needs-dev-note  |     Focuses:  performance
Changes (by peterwilsoncc):

 * keywords:  has-patch has-unit-tests needs-dev-note needs-testing commit
     => needs-dev-note


 Replying to [comment:35 Chouby]:
 > May I ask to introduce a new filter `term_exists_args`?

 I think that makes sense, possibly with the `wp_` prefix to be polite to
 plugins. @spacedmonkey, would you be able to look at this?


 I've done a little keyword tidy up to reflect the need for a filter patch.

Ticket URL: <https://core.trac.wordpress.org/ticket/36949#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list