[wp-trac] [WordPress Trac] #18927: is_email() check for string first

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 26 05:24:42 UTC 2012


#18927: is_email() check for string first
-----------------------------+------------------------------
 Reporter:  jkudish          |       Owner:
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Formatting       |     Version:  3.3
 Severity:  minor            |  Resolution:  wontfix
 Keywords:  has-patch close  |
-----------------------------+------------------------------
Changes (by jkudish):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Replying to [comment:2 nacin]:
 > Why? is_email() should only get a string. Passing it something that
 isn't scalar is a developer error. I'd rather the developer see a fatal
 error than a suppressed false.

 fair.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18927#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list