进行了一些小修复

This commit is contained in:
2026-08-26 15:36:56 +08:00
parent 562beb15cf
commit 992af2119d
3 changed files with 14 additions and 27 deletions
+6 -13
View File
@@ -437,19 +437,12 @@ if ($is_need_purchase && $user_amount > 0) {
}
}
?>
<div class="resource-download-box__guarantees">
<?php
if (function_exists('aksrt_get_pay_service_html')) {
echo aksrt_get_pay_service_html(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
} else {
?>
<span class="resource-download-box__guarantee"><i class="fa fas fa-shield-alt" aria-hidden="true"></i> <?php esc_html_e('安全检测', 'aksrt'); ?></span>
<span class="resource-download-box__guarantee"><i class="fa fas fa-certificate" aria-hidden="true"></i> <?php esc_html_e('支持 VIP 权益', 'aksrt'); ?></span>
<span class="resource-download-box__guarantee"><i class="fa fas fa-money-bill" aria-hidden="true"></i> <?php esc_html_e('支持积分结算', 'aksrt'); ?></span>
<?php
}
?>
</div>
<?php $service_html = aksrt_get_pay_service_html(); ?>
<?php if ($service_html !== '') : ?>
<div class="resource-download-box__guarantees">
<?php echo $service_html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</div>
<?php endif; ?>
</div>
</div>