Changeset 2518093
- Timestamp:
- 04/20/2021 07:11:58 AM (5 years ago)
- Location:
- token-access
- Files:
-
- 4 added
- 2 edited
-
tags/1.7.1 (added)
-
tags/1.7.1/placeholder.html (added)
-
tags/1.7.1/plugin.php (added)
-
tags/1.7.1/readme.txt (added)
-
trunk/plugin.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
token-access/trunk/plugin.php
r2516089 r2518093 4 4 * Plugin URI: http://www.fergusweb.net/software/token-access/ 5 5 * Description: Limit access to the site to those with a cookie token. Visitors without the cookie see a 'coming soon' style of page. To remove protection, simply disable this plugin. The 'coming soon' page can be customised via Reading settings. 6 * Version: 1.7 6 * Version: 1.7.1 7 7 * Author: Anthony Ferguson 8 8 * Author URI: http://www.fergusweb.net … … 67 67 // If admin area, don't run this. 68 68 if ( is_admin() ) { 69 return false; 70 } 71 72 // If login page, don't run this. 73 if ( $GLOBALS['pagenow'] === 'wp-login.php' ) { 69 74 return false; 70 75 } -
token-access/trunk/readme.txt
r2516091 r2518093 4 4 Requires at least: 3.0 5 5 Tested up to: 5.7 6 Stable tag: 1.7 6 Stable tag: 1.7.1 7 7 8 8 Limit access to the site to those with a cookie token. Visitors without the cookie see a customisable "coming soon" style of page. … … 29 29 == Changelog == 30 30 31 = 1.7.1 = 32 * Fix: It was showing the placeholder on the wp-login.php page too. 33 31 34 = 1.7 = 32 35 * Rewrote plugin to meet code standards.
Note: See TracChangeset
for help on using the changeset viewer.