进行了一些小修复

This commit is contained in:
2026-08-26 22:50:35 +08:00
parent b77926388f
commit af3539914d
9 changed files with 956 additions and 135 deletions
+8
View File
@@ -611,6 +611,14 @@ trait ScriptsPart1b {
// 单篇资源 / 付费内容 / 独立下载页:下载 + 收银台脚本
if ($is_single_resource || $is_paid_content_single || $is_download_file_page) {
$cms_download_css_path = get_template_directory() . '/assets/css/frontend/cms-download.css';
wp_enqueue_style(
'aksrt-cms-download',
$base_uri . '/assets/css/frontend/cms-download.css',
[$core_dep],
file_exists($cms_download_css_path) ? (string) filemtime($cms_download_css_path) : $version
);
$cms_download_js_path = get_template_directory() . '/assets/js/cms-download.js';
wp_enqueue_script(
'aksrt-cms-download',