Changeset 3321578
- Timestamp:
- 07/03/2025 07:27:00 AM (9 months ago)
- Location:
- token-access
- Files:
-
- 6 edited
- 1 copied
-
tags/1.8.2 (copied) (copied from token-access/trunk)
-
tags/1.8.2/includes/class-token-access-public.php (modified) (1 diff)
-
tags/1.8.2/index.php (modified) (1 diff)
-
tags/1.8.2/readme.txt (modified) (2 diffs)
-
trunk/includes/class-token-access-public.php (modified) (1 diff)
-
trunk/index.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
token-access/tags/1.8.2/includes/class-token-access-public.php
r3122439 r3321578 110 110 private function add_token() { 111 111 $cookie_key = get_option( 'tokenaccess_token_key', Token_Access::$cookie_key ); 112 $expires_hours = get_option( 'tokenaccess_expiry_hours', Token_Access::$expire s_hours );112 $expires_hours = get_option( 'tokenaccess_expiry_hours', Token_Access::$expire_hours ); 113 113 $expires = time() + ( $expires_hours * 60 * 60 ); 114 114 setcookie( $cookie_key, md5( $_SERVER['REMOTE_ADDR'] ), $expires, '/' ); // phpcs:ignore -
token-access/tags/1.8.2/index.php
r3122439 r3321578 12 12 * Plugin URI: https://www.ferguson.codes/software/token-access/ 13 13 * 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. 014 * Version: 1.8.2 15 15 * Author: Anthony Ferguson 16 16 * Author URI: http://www.ferguson.codes -
token-access/tags/1.8.2/readme.txt
r3122439 r3321578 5 5 Requires at least: 6.0 6 6 Tested up to: 6.6 7 Stable tag: 1.8. 17 Stable tag: 1.8.2 8 8 Requires PHP: 7.4 9 9 License: GPLv3 or later … … 35 35 == Changelog == 36 36 37 = 1.8.2 = 38 * Fix error with ?letmein operation 39 37 40 = 1.8.1 = 38 41 * Version bump for build process -
token-access/trunk/includes/class-token-access-public.php
r3122439 r3321578 110 110 private function add_token() { 111 111 $cookie_key = get_option( 'tokenaccess_token_key', Token_Access::$cookie_key ); 112 $expires_hours = get_option( 'tokenaccess_expiry_hours', Token_Access::$expire s_hours );112 $expires_hours = get_option( 'tokenaccess_expiry_hours', Token_Access::$expire_hours ); 113 113 $expires = time() + ( $expires_hours * 60 * 60 ); 114 114 setcookie( $cookie_key, md5( $_SERVER['REMOTE_ADDR'] ), $expires, '/' ); // phpcs:ignore -
token-access/trunk/index.php
r3122439 r3321578 12 12 * Plugin URI: https://www.ferguson.codes/software/token-access/ 13 13 * 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. 014 * Version: 1.8.2 15 15 * Author: Anthony Ferguson 16 16 * Author URI: http://www.ferguson.codes -
token-access/trunk/readme.txt
r3122439 r3321578 5 5 Requires at least: 6.0 6 6 Tested up to: 6.6 7 Stable tag: 1.8. 17 Stable tag: 1.8.2 8 8 Requires PHP: 7.4 9 9 License: GPLv3 or later … … 35 35 == Changelog == 36 36 37 = 1.8.2 = 38 * Fix error with ?letmein operation 39 37 40 = 1.8.1 = 38 41 * Version bump for build process
Note: See TracChangeset
for help on using the changeset viewer.