Plugin Directory

Changeset 3366824


Ignore:
Timestamp:
09/24/2025 12:33:24 AM (6 months ago)
Author:
codegee0958
Message:

Release 1.3.2: update trunk and create tag

Location:
ghostgate/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • ghostgate/trunk/ghostgate.php

    r3365790 r3366824  
    44 * Plugin URI: https://arce-experience.com/product/
    55 * Description: ログインURLを隠して、2FA認証やDoS遮断も可能なWordPress専用セキュリティ強化ツールです。WordPress Login Hardening Plugin.
    6  * Version: 1.3.1
     6 * Version: 1.3.2
    77 * Author: ジー(Code GEE)
    88 * Author URI: https://arce-experience.com/developer/
     
    1818
    1919// 定数定義
    20 define('GHOSTGATE_VERSION', '1.3.1');
     20define('GHOSTGATE_VERSION', '1.3.2');
    2121define('GHOSTGATE_PATH', plugin_dir_path(__FILE__));
    2222define('GHOSTGATE_URL', plugin_dir_url(__FILE__));
  • ghostgate/trunk/inc/admin-ui.php

    r3365790 r3366824  
    35523552        $base_url . 'js/ghost-script-adminui.js',
    35533553        [],
    3554         defined('GHOSTGATE_VERSION') ? GHOSTGATE_VERSION : '1.3.1',
     3554        defined('GHOSTGATE_VERSION') ? GHOSTGATE_VERSION : '1.3.2',
    35553555        true
    35563556    );
     
    35613561        $base_url . 'css/ghost-style-adminui.css',
    35623562        [],
    3563         defined('GHOSTGATE_VERSION') ? GHOSTGATE_VERSION : '1.3.1'
     3563        defined('GHOSTGATE_VERSION') ? GHOSTGATE_VERSION : '1.3.2'
    35643564    );
    35653565}
  • ghostgate/trunk/inc/feature-login-slug.php

    r3365790 r3366824  
    114114        ghostgate_log( "認証成功: IP={$ip}", 'info' );
    115115
     116// ▼▼ これを追加(wp-login.php が期待するグローバルを用意)▼▼
     117global $user_login, $error, $errors, $interim_login, $login_link_separator, $pagenow;
     118if (!isset($user_login)) $user_login = '';
     119if (!isset($error))      $error      = '';
     120if (!isset($errors) || !($errors instanceof WP_Error)) $errors = new WP_Error();
     121if (!isset($interim_login))        $interim_login = false;
     122if (!isset($login_link_separator)) $login_link_separator = ' | ';
     123$pagenow = 'wp-login.php'; // 一部コードが参照するため念のため
     124// ▲▲ ここまで ▲▲
     125
     126
    116127        require ABSPATH . 'wp-login.php';
    117128        exit;
     
    321332    $handle = 'ghostgate-disable-remember';
    322333    $src    = GHOSTGATE_URL . 'assets/js/ghost-disable-remember.js';
    323     $ver    = defined( 'GHOSTGATE_VERSION' ) ? GHOSTGATE_VERSION : '1.3.1';
     334    $ver    = defined( 'GHOSTGATE_VERSION' ) ? GHOSTGATE_VERSION : '1.3.2';
    324335
    325336    // セッションが残っていた場合のクリア処理(ログアウト後の安全対策)
  • ghostgate/trunk/inc/session-manager.php

    r3365790 r3366824  
    9494    $handle = 'ghostgate-session-tracker';
    9595    $src    = GHOSTGATE_URL . 'assets/js/ghost-session-tracker.js';
    96     $ver    = defined( 'GHOSTGATE_VERSION' ) ? GHOSTGATE_VERSION : '1.3.1';
     96    $ver    = defined( 'GHOSTGATE_VERSION' ) ? GHOSTGATE_VERSION : '1.3.2';
    9797
    9898    // UIは秒、JSにはmsで渡す。未設定時は5秒。
  • ghostgate/trunk/inc/template-functions.php

    r3365790 r3366824  
    4444    $style_handle  = 'ghostgate-code-style';
    4545    $style_url     = GHOSTGATE_URL . 'assets/css/ghost-style.css';
    46     $version       = defined('GHOSTGATE_VERSION') ? GHOSTGATE_VERSION : '1.3.1';
     46    $version       = defined('GHOSTGATE_VERSION') ? GHOSTGATE_VERSION : '1.3.2';
    4747
    4848    // JS注入
  • ghostgate/trunk/inc/two-factor-auth.php

    r3365790 r3366824  
    143143            plugins_url( '../assets/css/ghost-style-2fa.css', __FILE__ ),
    144144            array(),
    145             defined( 'GHOSTGATE_VERSION' ) ? GHOSTGATE_VERSION : '1.3.1'
     145            defined( 'GHOSTGATE_VERSION' ) ? GHOSTGATE_VERSION : '1.3.2'
    146146        );
    147147    }
  • ghostgate/trunk/languages/ghostgate.pot

    r3365790 r3366824  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: GhostGate 1.3.1\n"
     5"Project-Id-Version: GhostGate 1.3.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ghostgate\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • ghostgate/trunk/readme.txt

    r3365790 r3366824  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 1.3.1
     7Stable tag: 1.3.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7070
    7171== Changelog ==
     72= 1.3.2 - 2025-09-24 =
     73* Fix – Resolved “Undefined variable $user_login / $errors” warnings on the login screen when using the custom login slug or pre-login code screen. The plugin now pre-initializes wp-login.php globals and sets `$pagenow` before loading the core login template.
     74* Fix – Prevented potential “headers already sent” issues by ensuring no output occurs before redirects or the core login inclusion in the 2FA/login slug flow.
     75* Improvement – Hardened login flow compatibility with core by preparing required globals when the plugin takes over the authentication path.
     76* Improvement – Minor internal refactors around request path normalization and IP detection to reduce edge cases in server environments.
     77* Dev – No database changes. Backward compatible with 1.3.1.
     78
    7279= 1.3.0 - 2025-09-22 =
    7380* Security: Strengthened “Hide wp-json structure” — allowlist now stores **only actually registered routes** (including regex routes) and never breaks parameterized patterns.
Note: See TracChangeset for help on using the changeset viewer.