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

WordPress Trac noreply at wordpress.org
Thu May 25 09:54:25 UTC 2023


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

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Agreed, and if no terms are given to `has_term()`, it determines if post
 has any terms, which seems exactly what the function here would be doing.

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


More information about the wp-trac mailing list