[wp-trac] [WordPress Trac] #36654: New function `has_terms`

WordPress Trac noreply at wordpress.org
Fri Aug 25 20:12:35 UTC 2017


#36654: New function `has_terms`
-------------------------------------------------+-------------------------
 Reporter:  sebastian.pisula                     |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Taxonomy                             |  Review
 Severity:  normal                               |     Version:
 Keywords:  has-patch needs-unit-tests           |  Resolution:
  reporter-feedback                              |     Focuses:
-------------------------------------------------+-------------------------
Changes (by Mte90):

 * keywords:  has-patch needs-unit-tests => has-patch needs-unit-tests
     reporter-feedback


Comment:

 What is the difference with `has_term`?
 I think that are the same but only with different code approach, instead
 `has_terms` has 3 parameter that add the support for term and not only for
 taxonomy.

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


More information about the wp-trac mailing list