Plugin Directory

Changeset 3321578


Ignore:
Timestamp:
07/03/2025 07:27:00 AM (9 months ago)
Author:
ajferg
Message:

Update to version 1.8.2 from GitHub

Location:
token-access
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • token-access/tags/1.8.2/includes/class-token-access-public.php

    r3122439 r3321578  
    110110    private function add_token() {
    111111        $cookie_key    = get_option( 'tokenaccess_token_key', Token_Access::$cookie_key );
    112         $expires_hours = get_option( 'tokenaccess_expiry_hours', Token_Access::$expires_hours );
     112        $expires_hours = get_option( 'tokenaccess_expiry_hours', Token_Access::$expire_hours );
    113113        $expires       = time() + ( $expires_hours * 60 * 60 );
    114114        setcookie( $cookie_key, md5( $_SERVER['REMOTE_ADDR'] ), $expires, '/' );  // phpcs:ignore
  • token-access/tags/1.8.2/index.php

    r3122439 r3321578  
    1212 * Plugin URI:      https://www.ferguson.codes/software/token-access/
    1313 * Description:     Limit access to the site to those with a cookie token, set through a special link. Visitors without the cookie see a customisable "coming soon" style of page. To remove protection, simply disable this plugin.
    14  * Version:         1.8.0
     14 * Version:         1.8.2
    1515 * Author:          Anthony Ferguson
    1616 * Author URI:      http://www.ferguson.codes
  • token-access/tags/1.8.2/readme.txt

    r3122439 r3321578  
    55Requires at least:  6.0
    66Tested up to:       6.6
    7 Stable tag:         1.8.1
     7Stable tag:         1.8.2
    88Requires PHP:       7.4
    99License:            GPLv3 or later
     
    3535== Changelog ==
    3636
     37= 1.8.2 =
     38* Fix error with ?letmein operation
     39
    3740= 1.8.1 =
    3841* Version bump for build process
  • token-access/trunk/includes/class-token-access-public.php

    r3122439 r3321578  
    110110    private function add_token() {
    111111        $cookie_key    = get_option( 'tokenaccess_token_key', Token_Access::$cookie_key );
    112         $expires_hours = get_option( 'tokenaccess_expiry_hours', Token_Access::$expires_hours );
     112        $expires_hours = get_option( 'tokenaccess_expiry_hours', Token_Access::$expire_hours );
    113113        $expires       = time() + ( $expires_hours * 60 * 60 );
    114114        setcookie( $cookie_key, md5( $_SERVER['REMOTE_ADDR'] ), $expires, '/' );  // phpcs:ignore
  • token-access/trunk/index.php

    r3122439 r3321578  
    1212 * Plugin URI:      https://www.ferguson.codes/software/token-access/
    1313 * Description:     Limit access to the site to those with a cookie token, set through a special link. Visitors without the cookie see a customisable "coming soon" style of page. To remove protection, simply disable this plugin.
    14  * Version:         1.8.0
     14 * Version:         1.8.2
    1515 * Author:          Anthony Ferguson
    1616 * Author URI:      http://www.ferguson.codes
  • token-access/trunk/readme.txt

    r3122439 r3321578  
    55Requires at least:  6.0
    66Tested up to:       6.6
    7 Stable tag:         1.8.1
     7Stable tag:         1.8.2
    88Requires PHP:       7.4
    99License:            GPLv3 or later
     
    3535== Changelog ==
    3636
     37= 1.8.2 =
     38* Fix error with ?letmein operation
     39
    3740= 1.8.1 =
    3841* Version bump for build process
Note: See TracChangeset for help on using the changeset viewer.