・WordPress6.9動作確認

・PHP8.3対応修正
This commit is contained in:
2025-12-16 20:13:03 +09:00
parent 8cca88c96f
commit 2f1f6b4ec8
3 changed files with 11 additions and 7 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ Plugin URI: https://develop.n-k-y.net/wordpress/wp_plugin/auto-logout-extended
Author: NBK45 Author: NBK45
Author URI: https://develop.n-k-y.net Author URI: https://develop.n-k-y.net
Description: Auto Logout Extended は自動ログアウトとログイン状態保存を拡張するプラグインです。一定時間無操作のときに自動でログアウトする設定と(ログアウトせず)ブラウザ終了した場合のログイン状態の保存期間の設定が可能です。 Description: Auto Logout Extended は自動ログアウトとログイン状態保存を拡張するプラグインです。一定時間無操作のときに自動でログアウトする設定と(ログアウトせず)ブラウザ終了した場合のログイン状態の保存期間の設定が可能です。
Version: 1.1.5 Version: 1.1.
License: GPLv2 License: GPLv2
*/ */
@@ -34,6 +34,6 @@ add_action( 'admin_enqueue_scripts', function () {
new AL_EXT_SETTING; 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; new AL_EXT;
} }
+1 -1
View File
@@ -27,7 +27,7 @@ if ( ! class_exists( 'AL_EXT_SETTING' ) ) {
} }
public function show_option_page() { 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 ) ) { if ( ! empty( $update_option ) ) {
check_admin_referer( 'al_ext_options', '_al_ext_nonce' ); check_admin_referer( 'al_ext_options', '_al_ext_nonce' );
update_option( '_al_ext', $update_option ); update_option( '_al_ext', $update_option );
+8 -4
View File
@@ -1,10 +1,10 @@
=== Auto Logout Extended === === Auto Logout Extended ===
Contributors: NBK45 Contributors: NBK45
Tags: logout,rememberme Tags: logout,rememberme
Requires at least: 4.9 Requires at least: 6.7
Tested up to: 6.7 Tested up to: 6.9
Requires PHP: 7.4 Requires PHP: 8.3
Stable tag: 1.1.5 Stable tag: 1.1.6
License: GPLv2 or later License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -54,6 +54,10 @@ screenshot-3.png
screenshot-4.png screenshot-4.png
== Changelog == == Changelog ==
= 1.1.6 =
・WordPress6.9動作確認
・PHP8.3対応修正
= 1.1.5 = = 1.1.5 =
・WordPress6.5動作確認 ・WordPress6.5動作確認