[wp-trac] [WordPress Trac] #43345: term_exists() may return 0 which is not a text-documented return type

WordPress Trac noreply at wordpress.org
Mon Sep 23 18:11:41 UTC 2019


#43345: term_exists() may return 0 which is not a text-documented return type
--------------------------+--------------------------
 Reporter:  dotancohen    |       Owner:  johnbillion
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  5.3
Component:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-docs    |     Focuses:
--------------------------+--------------------------
Changes (by johnbillion):

 * keywords:  has-patch needs-testing => needs-docs


Comment:

 I'm honestly not sure what to do with this change. It seems like something
 could unexpectedly break so I'm hesitant to change that return value.
 Let's just correct the docs instead.

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


More information about the wp-trac mailing list