WordPress.org

Make WordPress Core

Changeset 11117


Ignore:
Timestamp:
04/29/2009 02:47:41 AM (9 years ago)
Author:
ryan
Message:

Don't double escape autosaves. fixes #9433

File:
1 edited

Legend:

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

    r11078 r11117  
    10801080        return wp_update_post( $new_autosave );
    10811081    }
     1082
     1083    // _wp_put_post_revision() expects unescaped.
     1084    $_POST = stripslashes_deep($_POST);
    10821085
    10831086    // Otherwise create the new autosave as a special post revision
Note: See TracChangeset for help on using the changeset viewer.