Changeset 2053593
- Timestamp:
- 03/19/2019 06:53:50 PM (7 years ago)
- Location:
- ws-force-login-page
- Files:
-
- 7 added
- 2 edited
- 5 copied
-
tags/3.0.1 (added)
-
tags/3.0.1/README.md (copied) (copied from ws-force-login-page/trunk/README.md)
-
tags/3.0.1/admin (added)
-
tags/3.0.1/admin/index.php (added)
-
tags/3.0.1/admin/ws-force-login-page-admin.php (added)
-
tags/3.0.1/index.php (copied) (copied from ws-force-login-page/trunk/index.php)
-
tags/3.0.1/languages (added)
-
tags/3.0.1/languages/ws-force-login-page-et.mo (added)
-
tags/3.0.1/languages/ws-force-login-page-et.po (added)
-
tags/3.0.1/readme.txt (copied) (copied from ws-force-login-page/trunk/readme.txt) (2 diffs)
-
tags/3.0.1/uninstall.php (copied) (copied from ws-force-login-page/trunk/uninstall.php)
-
tags/3.0.1/ws-force-login-page.php (copied) (copied from ws-force-login-page/trunk/ws-force-login-page.php) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/ws-force-login-page.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ws-force-login-page/tags/3.0.1/readme.txt
r2053590 r2053593 4 4 Requires at least: 4.4 5 5 Tested up to: 5.1 6 Stable tag: 3.0. 06 Stable tag: 3.0.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 36 36 37 37 == Changelog == 38 39 = 3.0.1 = 40 41 Fast fix for front end activate/deactivate control 38 42 39 43 = 3.0.0 = -
ws-force-login-page/tags/3.0.1/ws-force-login-page.php
r2053590 r2053593 4 4 * Plugin URI: https://www.silvermuru.ee/en/wordpress/plugins/ws-force-login-page/ 5 5 * Description: Redirecting user to login page if not logged in and when needed the custom message is shown 6 * Version: 3.0. 06 * Version: 3.0.1 7 7 * Author: WebShark 8 8 * Author URI: https://www.webshark.ee/ … … 27 27 if ( !is_user_logged_in() ) { 28 28 global $pagenow; 29 if ( 'wp-login.php' !== $pagenow ){29 if ( 'wp-login.php' !== $pagenow && get_option('wsforce-login-active-option') == '1' ){ 30 30 wp_redirect( wp_login_url() . '?message=wsforce-login-page' ); 31 31 exit; -
ws-force-login-page/trunk/readme.txt
r2053590 r2053593 4 4 Requires at least: 4.4 5 5 Tested up to: 5.1 6 Stable tag: 3.0. 06 Stable tag: 3.0.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 36 36 37 37 == Changelog == 38 39 = 3.0.1 = 40 41 Fast fix for front end activate/deactivate control 38 42 39 43 = 3.0.0 = -
ws-force-login-page/trunk/ws-force-login-page.php
r2053590 r2053593 4 4 * Plugin URI: https://www.silvermuru.ee/en/wordpress/plugins/ws-force-login-page/ 5 5 * Description: Redirecting user to login page if not logged in and when needed the custom message is shown 6 * Version: 3.0. 06 * Version: 3.0.1 7 7 * Author: WebShark 8 8 * Author URI: https://www.webshark.ee/ … … 27 27 if ( !is_user_logged_in() ) { 28 28 global $pagenow; 29 if ( 'wp-login.php' !== $pagenow ){29 if ( 'wp-login.php' !== $pagenow && get_option('wsforce-login-active-option') == '1' ){ 30 30 wp_redirect( wp_login_url() . '?message=wsforce-login-page' ); 31 31 exit;
Note: See TracChangeset
for help on using the changeset viewer.