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

WordPress Trac noreply at wordpress.org
Wed Jan 13 22:45:46 UTC 2016


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

Comment (by azaozz):

 Stripping slashes from the whole $_POST was introduced in r11117 for 2.8
 (7 years ago). Don't think that fix for #9433 is still needed but a bit
 more investigation is in order.

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


More information about the wp-trac mailing list