AUTO LOGOUT EXTENDED
初期エラー(notice)修正
This commit is contained in:
@@ -5,7 +5,7 @@ Plugin URI: https://develop.n-k-y.net/wordpress/wp_plugin/apop/
|
|||||||
Author: NBK45
|
Author: NBK45
|
||||||
Author URI: https://develop.n-k-y.net
|
Author URI: https://develop.n-k-y.net
|
||||||
Description: Archive Post Order Plus は「最新の投稿」「検索結果」「カテゴリー」「タグ」「カスタム分類」の投稿記事の表示順をドラッグで並べ替えて設定するプラグインです。
|
Description: Archive Post Order Plus は「最新の投稿」「検索結果」「カテゴリー」「タグ」「カスタム分類」の投稿記事の表示順をドラッグで並べ替えて設定するプラグインです。
|
||||||
Version: 1.1.5
|
Version: 1.1.6
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -4,7 +4,7 @@ Tags: latest posts order,categories post order,tags post order,custom taxonomy p
|
|||||||
Requires at least: 4.9
|
Requires at least: 4.9
|
||||||
Tested up to: 5.7.2
|
Tested up to: 5.7.2
|
||||||
Requires PHP: 7.0
|
Requires PHP: 7.0
|
||||||
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
|
||||||
|
|
||||||
@@ -89,6 +89,8 @@ jquery-ui-autocompleteを明示的にインクルード
|
|||||||
= 1.1.5 =
|
= 1.1.5 =
|
||||||
投稿記事のドラッグ並べ替えのスマートフォン対応
|
投稿記事のドラッグ並べ替えのスマートフォン対応
|
||||||
|
|
||||||
|
= 1.1.6 =
|
||||||
|
初期データ未設定時にnoticeエラーになっていた箇所を修正
|
||||||
|
|
||||||
== Upgrade Notice ==
|
== Upgrade Notice ==
|
||||||
No information
|
No information
|
||||||
@@ -49,6 +49,11 @@ if ( ! trait_exists( 'APOP_ORDER_SETTING' ) ) {
|
|||||||
|
|
||||||
private static function set_per_page( $target, $id = null ) {
|
private static function set_per_page( $target, $id = null ) {
|
||||||
$per_page_option = get_option( '_apop_per_page' );
|
$per_page_option = get_option( '_apop_per_page' );
|
||||||
|
|
||||||
|
if(!$per_page_option){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if ( is_null( $id ) ) {
|
if ( is_null( $id ) ) {
|
||||||
$per_page_option_data = $per_page_option[ $target ];
|
$per_page_option_data = $per_page_option[ $target ];
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user