From d6bc1067f9aeea4f69804e7e483fcccb6c6b092a Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 26 Sep 2026 21:03:32 +0800 Subject: [PATCH] fix(download): use FA5 class form for download box fallback icons --- templates/parts/resource-download-box.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/parts/resource-download-box.php b/templates/parts/resource-download-box.php index b69d213c..81ec3e44 100644 --- a/templates/parts/resource-download-box.php +++ b/templates/parts/resource-download-box.php @@ -358,7 +358,7 @@ if ($is_need_purchase && $user_amount > 0) { if ($is_need_login) { $btn_href = $login_url; $btn_text = __('登录后下载', 'aksrt'); - $btn_icon = $icon_markup !== '' ? $icon_markup : ''; + $btn_icon = $icon_markup !== '' ? $icon_markup : ''; $btn_extra_class = ''; $btn_modifier = ' resource-download-box__btn--login'; $btn_target = ''; @@ -366,7 +366,7 @@ if ($is_need_purchase && $user_amount > 0) { } else { $btn_href = $url; $btn_text = $label; - $btn_icon = $icon_markup !== '' ? $icon_markup : ''; + $btn_icon = $icon_markup !== '' ? $icon_markup : ''; $btn_extra_class = $button_class !== '' ? ' ' . $button_class : ''; $btn_modifier = ($has_paid_access ? ' resource-download-box__btn--owned' : '') . ($button_class !== '' ? ' resource-download-box__btn--custom' : ''); $btn_target = ' target="_blank"';