Changeset 2299353
- Timestamp:
- 05/06/2020 01:41:34 PM (6 years ago)
- File:
-
- 1 edited
-
token-access/trunk/access.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
token-access/trunk/access.php
r1289672 r2299353 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 customisable "coming soon" style of page. To remove protection, simply disable this plugin. 6 Version: 1. 46 Version: 1.5 7 7 Author: Anthony Ferguson 8 8 Author URI: http://www.fergusweb.net … … 88 88 */ 89 89 function hijack_public_pages() { 90 // If WP CLI don't run! 91 if (defined('WP_CLI')) return false; 90 92 // If admin or login, don't run this. 91 93 if (is_admin()) return;
Note: See TracChangeset
for help on using the changeset viewer.