[wp-trac] [WordPress Trac] #27489: If non-string passed to taxonomy_exists() php throws warning
WordPress Trac
noreply at wordpress.org
Thu Apr 24 16:56:25 UTC 2014
#27489: If non-string passed to taxonomy_exists() php throws warning
--------------------------+-------------------------
Reporter: jackreichert | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Taxonomy | Version: 3.0
Severity: normal | Resolution: worksforme
Keywords: has-patch | Focuses:
--------------------------+-------------------------
Changes (by wonderboymusic):
* status: new => closed
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
Warnings are the best way to alert the developer that their PHP is blowing
up - I don't think this function is ambiguous with what input it wants to
accept. `_doing_it_wrong()` could possibly be used in more places, but
sparingly
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27489#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list