Changeset 3128968
- Timestamp:
- 07/31/2024 05:44:30 PM (20 months ago)
- Location:
- simple-page-access-restriction/trunk
- Files:
-
- 3 edited
-
changelog.txt (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
simple-page-access-restriction.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-page-access-restriction/trunk/changelog.txt
r3118664 r3128968 1 = Version 1.0.29 - July 31, 2024 = 2 * Fix: Allow query parameters in the redirect URL 3 1 4 = Version 1.0.28 - July 15, 2024 = 2 5 * Fix: Rating notice -
simple-page-access-restriction/trunk/readme.txt
r3119414 r3128968 8 8 Tested up to: 6.5 9 9 Requires PHP: 5.6 10 Stable Tag: 1.0.2 810 Stable Tag: 1.0.29 11 11 License: GPL v2 or later 12 12 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 116 116 117 117 == Changelog == 118 = Version 1.0.29 - July 31, 2024 = 119 * Fix: Allow query parameters in the redirect URL 120 118 121 = Version 1.0.28 - July 15, 2024 = 119 122 * Fix: Rating notice -
simple-page-access-restriction/trunk/simple-page-access-restriction.php
r3118664 r3128968 4 4 * Plugin URI: https://www.pluginsandsnippets.com/downloads/simple-page-access-restriction/ 5 5 * Description: This plugin offers a simple way to restrict visits to select pages only to logged-in users and allows for page redirection to a defined (login) page of your choice. 6 * Version: 1.0.2 86 * Version: 1.0.29 7 7 * Author: Plugins & Snippets 8 8 * Author URI: https://www.pluginsandsnippets.com/ … … 80 80 81 81 // Plugin related constants 82 define( 'SIMPLE_PAGE_ACCESS_RESTRICTION_VER', '1.0.2 8' );82 define( 'SIMPLE_PAGE_ACCESS_RESTRICTION_VER', '1.0.29' ); 83 83 define( 'SIMPLE_PAGE_ACCESS_RESTRICTION_NAME', 'Simple Page Access Restriction' ); 84 84 define( 'SIMPLE_PAGE_ACCESS_RESTRICTION_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) ); … … 170 170 $settings['redirect_parameter'] = str_replace( '?', '', $settings['redirect_parameter'] ); 171 171 172 $redirect_url = add_query_arg( $settings['redirect_parameter'], home_url() . $_SERVER['REQUEST_URI'], $redirect_url );172 $redirect_url = add_query_arg( $settings['redirect_parameter'], urlencode( home_url() . $_SERVER['REQUEST_URI'] ), $redirect_url ); 173 173 } 174 174
Note: See TracChangeset
for help on using the changeset viewer.