[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:06:35 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):
No worries, those tickets are unrelated to `taxonomy_exists()`, but they
offer similar enhancements for other functions.
If a valid parameter generates a warning, we should certainly fix that.
However, in case of an invalid parameter, I think the warning is to be
expected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27489#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list