[wp-trac] [WordPress Trac] #23416: Form handlers assume $_POST elements will be strings

WordPress Trac noreply at wordpress.org
Tue Sep 29 17:22:31 UTC 2015


#23416: Form handlers assume $_POST elements will be strings
--------------------------+-----------------------
 Reporter:  tabacco       |       Owner:  Kloon
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.4
Component:  Comments      |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------
Changes (by johnbillion):

 * keywords:  good-first-bug has-patch => needs-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 r34274 broke the error message that's shown when the user enters an
 invalid email address, because the email address is now stripped if it's
 not invalid, causing the `please fill the required fields (name, email)`
 message to show, instead of `please enter a valid email address`.

 Related: #34059

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


More information about the wp-trac mailing list