Make WordPress Core


Ignore:
Timestamp:
03/01/2013 04:28:40 PM (12 years ago)
Author:
ryan
Message:

Revert 23416, 23419, 23445 except for wp_reset_vars() changes. We are going a different direction with the slashing cleanup, so resetting to a clean slate. see #21767

File:
1 edited

Legend:

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

    r23506 r23554  
    584584    }
    585585
    586     $hash = wp_unslash( $_COOKIE[ 'wp-postpass_' . COOKIEHASH ] );
     586    $hash = stripslashes( $_COOKIE[ 'wp-postpass_' . COOKIEHASH ] );
    587587
    588588    return ! $wp_hasher->CheckPassword( $post->post_password, $hash );
Note: See TracChangeset for help on using the changeset viewer.