diff --git a/.gitignore b/.gitignore index 5873c490..656dc8b8 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,8 @@ !/tests/widget-system/post-visual-contract.test.cjs !/tests/widget-system/lazyload-contract.test.cjs !/tests/widget-system/toast-contract.test.cjs +!/tests/widget-system/page-display-contract.test.cjs +!/tests/widget-system/page-display-save-harness.php !/tests/visual/docker-compose.zibll.yml !/tests/visual/zibll-Caddyfile !/tests/visual/README.md diff --git a/404.php b/404.php index b4376599..b96e1535 100644 --- a/404.php +++ b/404.php @@ -9,13 +9,6 @@ defined('ABSPATH') || exit; get_header(); -$other_page_settings = class_exists('\AKSRT\Settings\Settings') - ? \AKSRT\Settings\Settings::get_other_page_settings() - : [ - 'page_404_message' => __('页面未找到', 'aksrt'), - 'page_404_search' => true, - 'page_404_popular' => true, - ]; $search_placeholder = function_exists('aksrt_get_search_placeholder') ? aksrt_get_search_placeholder() : __('开启精彩搜索', 'aksrt'); $hot_keywords = function_exists('aksrt_get_search_hot_keywords') ? aksrt_get_search_hot_keywords() : []; @@ -46,7 +39,7 @@ $top_cats = get_terms([

404

-

+

@@ -54,7 +47,6 @@ $top_cats = get_terms([ -