[wp-trac] [WordPress Trac] #38708: Unify email length checks

WordPress Trac noreply at wordpress.org
Fri May 12 18:14:41 UTC 2017


#38708: Unify email length checks
---------------------------------------------+-----------------------
 Reporter:  rmccue                           |       Owner:
     Type:  enhancement                      |      Status:  new
 Priority:  normal                           |   Milestone:  4.8
Component:  Mail                             |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  rest-api
---------------------------------------------+-----------------------

Comment (by desrosj):

 [https://core.trac.wordpress.org/attachment/ticket/38708/38708.patch
 38708.patch] removes the length check in `wp_handle_comment_submission()`.
 I also noticed a length check in `sanitize_email()`. Updated that one to 6
 for consistency.

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


More information about the wp-trac mailing list