AUTO LOGOUT EXTENDED:Fix PHP Noticed / Errors
This commit is contained in:
@@ -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.0
|
||||
Version: 1.1.1
|
||||
License: GPLv2
|
||||
*/
|
||||
|
||||
|
||||
@@ -16,7 +16,9 @@ if ( ! class_exists( 'AL_EXT' ) ) {
|
||||
|
||||
public function __construct() {
|
||||
$this->options = get_option( '_al_ext' );
|
||||
|
||||
if(!$this->options){
|
||||
return;
|
||||
}
|
||||
if ( $this->options['type'] == 1 ) {
|
||||
$this->normal_expire();
|
||||
} elseif ( $this->options['type'] == 2 ) {
|
||||
|
||||
+4
-1
@@ -4,7 +4,7 @@ Tags: logout,rememberme
|
||||
Requires at least: 4.9
|
||||
Tested up to: 5.8
|
||||
Requires PHP: 7.0
|
||||
Stable tag: 1.1.0
|
||||
Stable tag: 1.1.1
|
||||
License: GPLv2 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@@ -55,6 +55,9 @@ screenshot-4.png
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.1.1 =
|
||||
・インストール時のNoticeエラーの修正
|
||||
|
||||
= 1.1.0 =
|
||||
・ログイン状態の保存期間の入力範囲が1〜500日になるよう修正
|
||||
・自動ログアウトの入力範囲が1〜120分になるよう修正
|
||||
|
||||
Reference in New Issue
Block a user