From 2f1f6b4ec8f3751fae9920812d334943176872c6 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 16 Dec 2025 20:13:03 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=BBWordPress6.9=E5=8B=95=E4=BD=9C?= =?UTF-8?q?=E7=A2=BA=E8=AA=8D=20=E3=83=BBPHP8.3=E5=AF=BE=E5=BF=9C=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto-logout-extended.php | 4 ++-- class/class.al_ext_setting.php | 2 +- readme.txt | 12 ++++++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/auto-logout-extended.php b/auto-logout-extended.php index f079071..b9e43aa 100644 --- a/auto-logout-extended.php +++ b/auto-logout-extended.php @@ -5,7 +5,7 @@ Plugin URI: https://develop.n-k-y.net/wordpress/wp_plugin/auto-logout-extended Author: NBK45 Author URI: https://develop.n-k-y.net Description: Auto Logout Extended は自動ログアウトとログイン状態保存を拡張するプラグインです。一定時間無操作のときに自動でログアウトする設定と(ログアウトせず)ブラウザ終了した場合のログイン状態の保存期間の設定が可能です。 -Version: 1.1.5 +Version: 1.1.6ß License: GPLv2 */ @@ -34,6 +34,6 @@ add_action( 'admin_enqueue_scripts', function () { new AL_EXT_SETTING; -if ( strpos( filter_input( INPUT_GET, 'page', FILTER_SANITIZE_STRING ), al_ext_config::PLUGIN_NAME ) === false ) { +if ( ! str_contains( filter_input( INPUT_GET, 'page', FILTER_DEFAULT ) ?? '', al_ext_config::PLUGIN_NAME ) ) { new AL_EXT; } \ No newline at end of file diff --git a/class/class.al_ext_setting.php b/class/class.al_ext_setting.php index d5823e9..592cb39 100644 --- a/class/class.al_ext_setting.php +++ b/class/class.al_ext_setting.php @@ -27,7 +27,7 @@ if ( ! class_exists( 'AL_EXT_SETTING' ) ) { } public function show_option_page() { - $update_option = filter_input( INPUT_POST, '_al_ext', FILTER_SANITIZE_STRING, FILTER_REQUIRE_ARRAY ); + $update_option = filter_input( INPUT_POST, '_al_ext', FILTER_DEFAULT); if ( ! empty( $update_option ) ) { check_admin_referer( 'al_ext_options', '_al_ext_nonce' ); update_option( '_al_ext', $update_option ); diff --git a/readme.txt b/readme.txt index 27b3156..bddb629 100644 --- a/readme.txt +++ b/readme.txt @@ -1,10 +1,10 @@ === Auto Logout Extended === Contributors: NBK45 Tags: logout,rememberme -Requires at least: 4.9 -Tested up to: 6.7 -Requires PHP: 7.4 -Stable tag: 1.1.5 +Requires at least: 6.7 +Tested up to: 6.9 +Requires PHP: 8.3 +Stable tag: 1.1.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -54,6 +54,10 @@ screenshot-3.png screenshot-4.png == Changelog == += 1.1.6 = +・WordPress6.9動作確認 +・PHP8.3対応修正 + = 1.1.5 = ・WordPress6.5動作確認