WordPress.org

Make WordPress Core

Changeset 3834


Ignore:
Timestamp:
06/01/2006 11:39:03 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
  • branches/2.0/wp-includes/pluggable-functions.php

    r3828 r3834  
    239239        $html .= "<head>\n\t<title>" . __('WordPress Confirmation') . "</title>\n";
    240240        $html .= "</head>\n<body>\n";
     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.