[wp-trac] [WordPress Trac] #18927: is_email() check for string first
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 13 07:23:41 UTC 2011
#18927: is_email() check for string first
-------------------------+-----------------------------
Reporter: jkudish | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.3
Severity: minor | Keywords: has-patch
-------------------------+-----------------------------
Currently, if you pass anything else than a string to `is_email()` it will
generate a fatal error because `strlen()` expects a string. The proposed
patch checks for `is_string()` first.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18927>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list