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

WordPress Trac noreply at wordpress.org
Fri Mar 4 02:09:13 UTC 2022


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

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


Comment:

 I pushed an intentionally broken test to [https://github.com/WordPress
 /wordpress-develop/pull/2318 PR#2318] earlier today to demonstrate a
 question I had about `get_term()` -- ie, the singular. I'll remove the
 commit keyword for now.

 Do yell out if I am highlighting something that is intentionally out of
 scope.

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


More information about the wp-trac mailing list