[wp-trac] [WordPress Trac] #38506: Email length can be less than 6 character

WordPress Trac noreply at wordpress.org
Mon Nov 7 05:48:34 UTC 2016


#38506: Email length can be less than 6 character
--------------------------------------+-----------------------
 Reporter:  mangeshp                  |       Owner:  rmccue
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.7
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------
Changes (by rmccue):

 * keywords:  has-patch => has-patch has-unit-tests


Comment:

 Added a patch to test for this specifically in the REST API, along with a
 test. While I do think this belongs in `is_email()`, I'm also wary of
 changing that while we're in beta, and I'd rather the API have the
 stronger validation for now.

 We can revisit changing `is_email()` in 4.8, I think.

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


More information about the wp-trac mailing list