Changeset 3833

Show
Ignore:
Timestamp:
06/01/06 23:38:34 (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
  • 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);