Changeset 3404569
- Timestamp:
- 11/28/2025 03:00:24 AM (2 weeks ago)
- Location:
- xo-security
- Files:
-
- 6 edited
- 1 copied
-
tags/3.10.7 (copied) (copied from xo-security/trunk)
-
tags/3.10.7/inc/class-xo-security.php (modified) (1 diff)
-
tags/3.10.7/readme.txt (modified) (2 diffs)
-
tags/3.10.7/xo-security.php (modified) (2 diffs)
-
trunk/inc/class-xo-security.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/xo-security.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
xo-security/tags/3.10.7/inc/class-xo-security.php
r3402189 r3404569 786 786 $loginfile = $this->options['login_page_name'] . '.php'; 787 787 $formated_path = '/' . ltrim( $path, '/' ); 788 $pattern = ' #/wp-login\.php(\?action=\w+(&key=[^&]+&login=[^&]+)?)?#';789 790 if ( '/wp-login.php' === $formated_path || preg_match( $pattern, $formated_path ) ) {788 $pattern = '/wp-login\.php(\?|.+&)action=\w+'; 789 790 if ( '/wp-login.php' === $formated_path || preg_match( '#' . $pattern . '#', $formated_path ) ) { 791 791 $url = $this->get_login_url( $url, $loginfile ); 792 792 } elseif ( is_multisite() && ! is_subdomain_install() ) { 793 $blog = get_site( $blog_id ); 794 $multisite_pattern = '#' . preg_quote( $blog->path, '#' ) . 'wp-login\.php(\?action=\w+(&key=[^&]+&login=[^&]+)?)?#'; 795 if ( $blog->path . 'wp-login.php' === $formated_path || preg_match( $multisite_pattern, $formated_path ) ) { 793 $blog = get_site( $blog_id ); 794 if ( $blog->path . 'wp-login.php' === $formated_path || preg_match( '#' . $blog->path . $pattern . '#', $formated_path ) ) { 796 795 $url = $this->get_login_url( $url, $loginfile ); 797 796 } -
xo-security/tags/3.10.7/readme.txt
r3402189 r3404569 5 5 Tested up to: 6.9 6 6 Requires PHP: 5.6 7 Stable tag: 3.10. 67 Stable tag: 3.10.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 72 72 == Changelog == 73 73 74 = 3.10.7 = 75 76 * Fixed a mistake in version 3.10.6. 77 74 78 = 3.10.6 = 75 79 -
xo-security/tags/3.10.7/xo-security.php
r3402189 r3404569 11 11 * Plugin URI: https://xakuro.com/wordpress/xo-security/ 12 12 * Description: XO Security is a plugin to enhance login related security. 13 * Version: 3.10. 613 * Version: 3.10.7 14 14 * Requires at least: 4.9 15 15 * Requires PHP: 5.6 … … 25 25 } 26 26 27 define( 'XO_SECURITY_VERSION', '3.10. 6' );27 define( 'XO_SECURITY_VERSION', '3.10.7' ); 28 28 define( 'XO_SECURITY_URL', plugins_url( '', __FILE__ ) ); 29 29 define( 'XO_SECURITY_DIR', __DIR__ ); -
xo-security/trunk/inc/class-xo-security.php
r3402189 r3404569 786 786 $loginfile = $this->options['login_page_name'] . '.php'; 787 787 $formated_path = '/' . ltrim( $path, '/' ); 788 $pattern = ' #/wp-login\.php(\?action=\w+(&key=[^&]+&login=[^&]+)?)?#';789 790 if ( '/wp-login.php' === $formated_path || preg_match( $pattern, $formated_path ) ) {788 $pattern = '/wp-login\.php(\?|.+&)action=\w+'; 789 790 if ( '/wp-login.php' === $formated_path || preg_match( '#' . $pattern . '#', $formated_path ) ) { 791 791 $url = $this->get_login_url( $url, $loginfile ); 792 792 } elseif ( is_multisite() && ! is_subdomain_install() ) { 793 $blog = get_site( $blog_id ); 794 $multisite_pattern = '#' . preg_quote( $blog->path, '#' ) . 'wp-login\.php(\?action=\w+(&key=[^&]+&login=[^&]+)?)?#'; 795 if ( $blog->path . 'wp-login.php' === $formated_path || preg_match( $multisite_pattern, $formated_path ) ) { 793 $blog = get_site( $blog_id ); 794 if ( $blog->path . 'wp-login.php' === $formated_path || preg_match( '#' . $blog->path . $pattern . '#', $formated_path ) ) { 796 795 $url = $this->get_login_url( $url, $loginfile ); 797 796 } -
xo-security/trunk/readme.txt
r3402189 r3404569 5 5 Tested up to: 6.9 6 6 Requires PHP: 5.6 7 Stable tag: 3.10. 67 Stable tag: 3.10.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 72 72 == Changelog == 73 73 74 = 3.10.7 = 75 76 * Fixed a mistake in version 3.10.6. 77 74 78 = 3.10.6 = 75 79 -
xo-security/trunk/xo-security.php
r3402189 r3404569 11 11 * Plugin URI: https://xakuro.com/wordpress/xo-security/ 12 12 * Description: XO Security is a plugin to enhance login related security. 13 * Version: 3.10. 613 * Version: 3.10.7 14 14 * Requires at least: 4.9 15 15 * Requires PHP: 5.6 … … 25 25 } 26 26 27 define( 'XO_SECURITY_VERSION', '3.10. 6' );27 define( 'XO_SECURITY_VERSION', '3.10.7' ); 28 28 define( 'XO_SECURITY_URL', plugins_url( '', __FILE__ ) ); 29 29 define( 'XO_SECURITY_DIR', __DIR__ );
Note: See TracChangeset
for help on using the changeset viewer.