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

WordPress Trac noreply at wordpress.org
Fri May 24 20:20:58 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:  4.9.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------------
Changes (by johnbillion):

 * keywords:  has-patch needs-testing dev-feedback => has-patch needs-
               testing


Comment:

 I've been poking around and this change doesn't seem to break anything. I
 suspect this can be treated as legacy code and the condition no longer
 gets triggered during post creation (both with the classic editor and the
 block editor).

 Tentative +1 on the change but some more eyes would be good.

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


More information about the wp-trac mailing list