WordPress.org

Make WordPress Core

Changeset 36543


Ignore:
Timestamp:
02/17/2016 12:09:42 AM (2 years ago)
Author:
azaozz
Message:

Do not strip slashes from the whole &_POST when doing autosaves.

Props joehoyle.
Fixes #35408.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/post.php

    r36113 r36543  
    16481648    if ( is_numeric( $post_data ) ) {
    16491649        $post_id = $post_data;
    1650         $post_data = &$_POST;
     1650        $post_data = $_POST;
    16511651    } else {
    16521652        $post_id = (int) $post_data['post_ID'];
Note: See TracChangeset for help on using the changeset viewer.