Plugin Directory

Changeset 3138580


Ignore:
Timestamp:
08/21/2024 02:44:54 AM (19 months ago)
Author:
jp-secure
Message:

tagging version 1.7.8

Location:
siteguard
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • siteguard/tags/1.7.8/classes/siteguard-rename-login.php

    r3094238 r3138580  
    207207        $denied_slugs = array( 'wp-register' );
    208208        $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        }
    210214        if ( $is_denied && ! is_admin() ) {
    211215            $this->denied_login = true;
  • siteguard/tags/1.7.8/readme.txt

    r3120401 r3138580  
    55Requires at least: 3.9
    66Tested up to: 6.6
    7 Stable tag: 1.7.7
     7Stable tag: 1.7.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    107107
    108108== Changelog ==
     109= 1.7.8 =
     110* Fix a warning that occurred from ver1.7.7
    109111= 1.7.7 =
    110112* Fix a bug where renamed login URL was leaked when wp-register.php was accessed
  • siteguard/tags/1.7.8/siteguard.php

    r3094238 r3138580  
    88Text Domain: siteguard
    99Domain Path: /languages/
    10 Version: 1.7.7
     10Version: 1.7.8
    1111*/
    1212
  • siteguard/trunk/classes/siteguard-rename-login.php

    r3094238 r3138580  
    207207        $denied_slugs = array( 'wp-register' );
    208208        $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        }
    210214        if ( $is_denied && ! is_admin() ) {
    211215            $this->denied_login = true;
  • siteguard/trunk/readme.txt

    r3120401 r3138580  
    55Requires at least: 3.9
    66Tested up to: 6.6
    7 Stable tag: 1.7.7
     7Stable tag: 1.7.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    107107
    108108== Changelog ==
     109= 1.7.8 =
     110* Fix a warning that occurred from ver1.7.7
    109111= 1.7.7 =
    110112* Fix a bug where renamed login URL was leaked when wp-register.php was accessed
  • siteguard/trunk/siteguard.php

    r3094238 r3138580  
    88Text Domain: siteguard
    99Domain Path: /languages/
    10 Version: 1.7.7
     10Version: 1.7.8
    1111*/
    1212
Note: See TracChangeset for help on using the changeset viewer.