[wp-trac] [WordPress Trac] #57586: term_exists() return type not consistent regarding wp_insert_term()

WordPress Trac noreply at wordpress.org
Tue Jan 31 14:11:25 UTC 2023


#57586: term_exists() return type not consistent regarding wp_insert_term()
------------------------------------+------------------------------
 Reporter:  hugod                   |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Taxonomy                |     Version:  3.0
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------

Comment (by hugod):

 Hi there,
 @spacedmonkey It changes return type of both `category_exists` and
 `tag_exists`. But I updated the doc only for `category_exists`.
 The one in `tag_exists` has `@return mixed`. Should I add a more accurate
 doc for it?

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


More information about the wp-trac mailing list