Changeset 3138580
- Timestamp:
- 08/21/2024 02:44:54 AM (19 months ago)
- Location:
- siteguard
- Files:
-
- 6 edited
- 1 copied
-
tags/1.7.8 (copied) (copied from siteguard/trunk)
-
tags/1.7.8/classes/siteguard-rename-login.php (modified) (1 diff)
-
tags/1.7.8/readme.txt (modified) (2 diffs)
-
tags/1.7.8/siteguard.php (modified) (1 diff)
-
trunk/classes/siteguard-rename-login.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/siteguard.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
siteguard/tags/1.7.8/classes/siteguard-rename-login.php
r3094238 r3138580 207 207 $denied_slugs = array( 'wp-register' ); 208 208 $denied_slugs_to_regex = implode( '|', $denied_slugs ); 209 $is_denied = preg_match( '#\/(' . $denied_slugs_to_regex . ')(\.php)?$#i', untrailingslashit( $request['path'] ) ); 209 210 $is_denied = false; 211 if ( is_array( $request ) && isset( $request['path'] ) ) { 212 $is_denied = preg_match( '#\/(' . $denied_slugs_to_regex . ')(\.php)?$#i', untrailingslashit( $request['path'] ) ); 213 } 210 214 if ( $is_denied && ! is_admin() ) { 211 215 $this->denied_login = true; -
siteguard/tags/1.7.8/readme.txt
r3120401 r3138580 5 5 Requires at least: 3.9 6 6 Tested up to: 6.6 7 Stable tag: 1.7. 77 Stable tag: 1.7.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 107 107 108 108 == Changelog == 109 = 1.7.8 = 110 * Fix a warning that occurred from ver1.7.7 109 111 = 1.7.7 = 110 112 * Fix a bug where renamed login URL was leaked when wp-register.php was accessed -
siteguard/tags/1.7.8/siteguard.php
r3094238 r3138580 8 8 Text Domain: siteguard 9 9 Domain Path: /languages/ 10 Version: 1.7. 710 Version: 1.7.8 11 11 */ 12 12 -
siteguard/trunk/classes/siteguard-rename-login.php
r3094238 r3138580 207 207 $denied_slugs = array( 'wp-register' ); 208 208 $denied_slugs_to_regex = implode( '|', $denied_slugs ); 209 $is_denied = preg_match( '#\/(' . $denied_slugs_to_regex . ')(\.php)?$#i', untrailingslashit( $request['path'] ) ); 209 210 $is_denied = false; 211 if ( is_array( $request ) && isset( $request['path'] ) ) { 212 $is_denied = preg_match( '#\/(' . $denied_slugs_to_regex . ')(\.php)?$#i', untrailingslashit( $request['path'] ) ); 213 } 210 214 if ( $is_denied && ! is_admin() ) { 211 215 $this->denied_login = true; -
siteguard/trunk/readme.txt
r3120401 r3138580 5 5 Requires at least: 3.9 6 6 Tested up to: 6.6 7 Stable tag: 1.7. 77 Stable tag: 1.7.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 107 107 108 108 == Changelog == 109 = 1.7.8 = 110 * Fix a warning that occurred from ver1.7.7 109 111 = 1.7.7 = 110 112 * Fix a bug where renamed login URL was leaked when wp-register.php was accessed -
siteguard/trunk/siteguard.php
r3094238 r3138580 8 8 Text Domain: siteguard 9 9 Domain Path: /languages/ 10 Version: 1.7. 710 Version: 1.7.8 11 11 */ 12 12
Note: See TracChangeset
for help on using the changeset viewer.