WordPress.org

Make WordPress Core

Changeset 3833


Ignore:
Timestamp:
06/01/2006 11:38:34 PM (15 years ago)
Author:
ryan
Message:

Strip extra slashes from _POST when doing nonce AYS. Props MarkJaquith and mdawaffe. fixes #2761

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable-functions.php

    r3816 r3833  
    239239        $title = __('WordPress Confirmation');
    240240        require_once(ABSPATH . '/wp-admin/admin-header.php');
     241        // Remove extra layer of slashes.
     242        $_POST   = stripslashes_deep($_POST  );
    241243        if ( $_POST ) {
    242244            $q = http_build_query($_POST);
Note: See TracChangeset for help on using the changeset viewer.