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

WordPress Trac noreply at wordpress.org
Tue Nov 8 06:48:48 UTC 2016


#38708: Unify email length checks
-------------------------+-----------------------------------
 Reporter:  rmccue       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  General      |    Version:
 Severity:  normal       |   Keywords:  4.8-early needs-patch
  Focuses:  rest-api     |
-------------------------+-----------------------------------
 Right now, the comment form checks for 6 characters minimum for email
 addresses. In #38506, we updated the REST API to do the same.

 We should update `is_email()` to include this check, or change the other
 checks to match `is_email()`. It makes no real sense to have the check in
 two places.

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


More information about the wp-trac mailing list