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

WordPress Trac noreply at wordpress.org
Thu Sep 17 22:21:08 UTC 2015


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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34274"]:
 {{{
 #!CommitTicketReference repository="" revision="34274"
 In `wp-comments-post.php`, sanity check a few of the comment inputs that
 are expected to be a string beford calling string-only functions on them.

 Props Kloon.
 Fixes #23416.
 }}}

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


More information about the wp-trac mailing list