Changeset 3834

Show
Ignore:
Timestamp:
06/01/06 23:39:03 (2 years ago)
Author:
ryan
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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);