Compare commits

...

2 Commits

Author SHA1 Message Date
nobu d8375c5abe Fixed Notice Error 2024-06-08 00:02:54 +09:00
nobu 49f7d3088c Fixed Notice Error 2024-06-07 23:58:28 +09:00
2 changed files with 9 additions and 2 deletions
+5 -2
View File
@@ -2,9 +2,9 @@
Contributors: nbk45 Contributors: nbk45
Tags: latest posts order,categories post order,tags post order,custom taxonomy post order Tags: latest posts order,categories post order,tags post order,custom taxonomy post order
Requires at least: 4.9 Requires at least: 4.9
Tested up to: 6.3 Tested up to: 6.5
Requires PHP: 7.4 Requires PHP: 7.4
Stable tag: 1.2.2 Stable tag: 1.2.3
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
@@ -82,6 +82,9 @@ screenshot-7.png
screenshot-8.png screenshot-8.png
== Changelog == == Changelog ==
= 1.2.3 =
confirm WordPress6.5
= 1.2.2 = = 1.2.2 =
confirm WordPress6.3 confirm WordPress6.3
confirm WordPress6.1 confirm WordPress6.1
+4
View File
@@ -121,6 +121,10 @@ if ( ! trait_exists( 'CUSTOMPOSTS' ) ) {
return; return;
} }
if( ! isset($per_page_option['custompost_archive'] ) ){
return;
}
$per_page_option_data = $per_page_option['custompost_archive'][ $post_type ]; $per_page_option_data = $per_page_option['custompost_archive'][ $post_type ];
if ( ! isset( $per_page_option_data ) ) { if ( ! isset( $per_page_option_data ) ) {
return; return;