From caa4e51caa276ffb49186282c613e6dda0c6b99d Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 21 Jul 2026 12:42:58 +0800 Subject: [PATCH] feat(widgets): search affix, mod apply, blur_bg, iframe null Wire search sidebar affix, plate moderator apply entry, user-lists REST blur_bg, and iframe empty via aksrt_get_widget_null. --- src/AKSRT/Core/WidgetAjax.php | 1 + src/AKSRT/Widgets/SearchWidget.php | 6 +++-- .../Widgets/WidgetForumPlateModerator.php | 27 ++++++++++++++++--- src/AKSRT/Widgets/WidgetIframe.php | 5 ++-- 4 files changed, 32 insertions(+), 7 deletions(-) diff --git a/src/AKSRT/Core/WidgetAjax.php b/src/AKSRT/Core/WidgetAjax.php index d8b80ae4..0acba307 100644 --- a/src/AKSRT/Core/WidgetAjax.php +++ b/src/AKSRT/Core/WidgetAjax.php @@ -240,6 +240,7 @@ class WidgetAjax { 'include' => sanitize_text_field((string) ($request->get_param('include') ?? '')), 'exclude' => sanitize_text_field((string) ($request->get_param('exclude') ?? '')), 'hide_box' => (int) ($request->get_param('hide_box') ?? 0), + 'blur_bg' => (int) ($request->get_param('blur_bg') ?? 0), ]; $html = \AKSRT\Widgets\WidgetUserLists::render_html($instance); return new \WP_REST_Response(['success' => true, 'html' => $html], 200); diff --git a/src/AKSRT/Widgets/SearchWidget.php b/src/AKSRT/Widgets/SearchWidget.php index edb25bdd..3120ce75 100644 --- a/src/AKSRT/Widgets/SearchWidget.php +++ b/src/AKSRT/Widgets/SearchWidget.php @@ -109,7 +109,7 @@ class SearchWidget extends \WP_Widget { $uid = 'aksrt-sw-' . esc_attr($this->id); ?> -