WordPress.org

Plugin Directory

Changeset 564471


Ignore:
Timestamp:
06/27/12 06:15:09 (22 months ago)
Author:
BrianLayman
Message:

This is the REAL 1.1.0 which is now to be labeled 1.1.1

Location:
smart-passworded-pages/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smart-passworded-pages/trunk/readme.txt

    r560757 r564471  
    4141  
    4242== Changelog == 
    43 1.0 Initial Release 
     43= 1.0 =  
     44* Initial Release 
    4445 
    45 1.0.1 Added compatiblity with the exclude pages plugin 
     46= 1.0.1 = 
     47* Added compatiblity with the exclude pages plugin 
    4648 
    47 1.1.0 Updated the plugin to include the security enhancements added in WordPress 3.4 
     49= 1.1.0 = 
     50* Updated the plugin to include the security enhancements added in WordPress 3.4 
     51 
     52= 1.1.1 = 
     53* The version labeled 1.1.0 hadn't included my final fixes and did not work actually work with 3.4. 1.1.1 simply includes the code that was intended to be 1.1.0. 
     54* Updated the styling of the changelog section of the readme file to allow it to parse correctly on WordPress.org 
  • smart-passworded-pages/trunk/smartpwpages.php

    r560757 r564471  
    44Plugin URI: http://thecodecave.com/plugins/smart-passworded-pages-plugin/ 
    55Description: Allows a central login page for password protected child pages. Enter a password and you are taken to the newest child page with a matching password. 
    6 Version: 1.1.0 
     6Version: 1.1.1 
    77Author: Brian Layman 
    88Author URI: http://eHermitsInc.com/ 
     
    4848    function pw_redirect( $perma, $password ) { 
    4949        global $wp_version; 
    50         $cookiePW = stripslashes( $_POST['post_password'] ); 
     50        $cookiePW = stripslashes( $password ); 
    5151        if (version_compare($wp_version, '3.4', '>=')) { 
    5252            // version is 3.4 and higher has better security on the pw pages 
     
    5858        }        
    5959         
    60         // 10 days 
    61         setcookie( 'wp-postpass_' . COOKIEHASH, stripslashes( $password ), time() + SECONDS_TO_STORE_PW, COOKIEPATH ); 
     60        // Store password for the length in the constant 
     61        setcookie( 'wp-postpass_' . COOKIEHASH, $cookiePW, time() + SECONDS_TO_STORE_PW, COOKIEPATH ); 
    6262        wp_safe_redirect( $perma ); 
    6363        exit(); 
Note: See TracChangeset for help on using the changeset viewer.