Changeset 3497900
- Timestamp:
- 04/03/2026 12:50:38 AM (18 hours ago)
- Location:
- simple-membership-after-login-redirection/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
swpm-after-login-redirection.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-membership-after-login-redirection/trunk/readme.txt
r3431912 r3497900 4 4 Tags: login, redirection, member, members, membership, login redirection, access, level 5 5 Requires at least: 4.5 6 Tested up to: 6.97 Stable tag: 2. 06 Tested up to: 7.0 7 Stable tag: 2.1 8 8 License: GPLv2 or later 9 9 … … 33 33 == Changelog == 34 34 35 = 2.1 = 36 - PHP warning fix for the case when nothing has been set in the addon's settings yet. 37 35 38 = 2.0 = 36 39 * Support added for the [Social Login Addon](https://simple-membership-plugin.com/simple-membership-social-login-addon/) - now the after login redirection will also work when the member logs in using social login. 37 40 38 41 = 1.9 = 39 * Fixed a min ior version number formatting issue which was causing the addon to show an update notification even when there is no update.42 * Fixed a minor version number formatting issue which was causing the addon to show an update notification even when there is no update. 40 43 41 44 = 1.8 = -
simple-membership-after-login-redirection/trunk/swpm-after-login-redirection.php
r3374724 r3497900 2 2 /* 3 3 Plugin Name: Simple Membership After Login Redirection 4 Version: 2. 04 Version: 2.1 5 5 Plugin URI: https://simple-membership-plugin.com/ 6 6 Author: smp7, wp.insider … … 13 13 } 14 14 15 define( 'SWPM_ALR_VERSION', '2. 0' );15 define( 'SWPM_ALR_VERSION', '2.1' ); 16 16 define( 'SWPM_ALR_CONTEXT', 'swpm_alr'); 17 17 … … 187 187 //Check if the redirect to last page settings is enabled. 188 188 $swpm_alr_settings = get_option('swpm_alr_settings'); 189 if(!is_array($swpm_alr_settings)){ 190 $swpm_alr_settings = array(); 191 } 189 192 if(empty($swpm_alr_settings['redirect_to_last_page_enabled'])){ 190 193 $swpm_alr_settings['redirect_to_last_page_enabled'] = ''; … … 215 218 //Check if the option 'allow_custom_redirections' is enabled or not. 216 219 $swpm_alr_settings = get_option('swpm_alr_settings'); 220 if(!is_array($swpm_alr_settings)){ 221 $swpm_alr_settings = array(); 222 } 217 223 if(empty($swpm_alr_settings['allow_custom_redirections'])){ 218 224 $swpm_alr_settings['allow_custom_redirections'] = ''; … … 243 249 //Check if the option 'allow_custom_redirections' is enabled or not. 244 250 $swpm_alr_settings = get_option('swpm_alr_settings'); 251 if(!is_array($swpm_alr_settings)){ 252 $swpm_alr_settings = array(); 253 } 245 254 if(empty($swpm_alr_settings['allow_custom_redirections'])){ 246 255 $swpm_alr_settings['allow_custom_redirections'] = '';
Note: See TracChangeset
for help on using the changeset viewer.