diff --git a/src/AKSRT/Widgets/TabPostsWidget.php b/src/AKSRT/Widgets/TabPostsWidget.php index fc42a830..ee3c542e 100644 --- a/src/AKSRT/Widgets/TabPostsWidget.php +++ b/src/AKSRT/Widgets/TabPostsWidget.php @@ -381,6 +381,9 @@ class TabPostsWidget extends \WP_Widget { 'category_id' => absint($tab['category_id'] ?? 0), 'orderby' => $orderby, 'count' => max(0, min(20, (int) ($tab['count'] ?? 0))), + 'topics' => sanitize_text_field((string) ($tab['topics'] ?? '')), + 'limit_day' => max(0, (int) ($tab['limit_day'] ?? 0)), + 'pay_type' => sanitize_key((string) ($tab['pay_type'] ?? '')), 'enabled' => !empty($tab['enabled']), ]; }