[wp-trac] [WordPress Trac] #27489: If non-string passed to taxonomy_exists() php throws warning

WordPress Trac noreply at wordpress.org
Sat Mar 22 16:17:04 UTC 2014


#27489: If non-string passed to taxonomy_exists() php throws warning
--------------------------+------------------------------
 Reporter:  jackreichert  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 We could probably add a `_doing_it_wrong()` call: [source:tags/3.8.1/src
 /wp-includes/functions.php#L3018].

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


More information about the wp-trac mailing list