WordPress.org

Make WordPress Core

Changeset 36543


Ignore:
Timestamp:
02/17/16 00:09:42 (19 months 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.