修复了一些问题

This commit is contained in:
2026-08-21 13:42:59 +08:00
parent 0b8d7cdab5
commit e971c2b1da
8 changed files with 55 additions and 3 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ if (!function_exists('aksrt_header_user_box_html')) :
$vip_guest = '';
if (class_exists('\AKSRT\Settings\Settings')) {
$vs = \AKSRT\Settings\Settings::get_payment_vip_settings();
if (!empty($vs['enabled'])) {
if (!empty($vs['enabled']) && !empty($vs['nav_user_pay_vip'])) {
$vip_guest = '<div><a class="em09 signin-loader but jb-red radius4 payvip-icon btn-block mt10" href="javascript:;">'
. '<i class="fa fas fa-gem" aria-hidden="true"></i> '
. esc_html__('开通会员 尊享会员权益', 'aksrt') . '</a></div>';