[wp-trac] [WordPress Trac] #35408: Side effect wp_create_post_autosave causes $_POST to be unslashed

WordPress Trac noreply at wordpress.org
Wed Feb 17 00:09:44 UTC 2016


#35408: Side effect wp_create_post_autosave causes $_POST to be unslashed
----------------------------------------+-----------------------
 Reporter:  joehoyle                    |       Owner:  joehoyle
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  4.5
Component:  Autosave                    |     Version:  2.6
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------
Changes (by azaozz):

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


Comment:

 In [changeset:"36543"]:
 {{{
 #!CommitTicketReference repository="" revision="36543"
 Do not strip slashes from the whole &_POST when doing autosaves.

 Props joehoyle.
 Fixes #35408.
 }}}

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


More information about the wp-trac mailing list