Merge pull request 'fix(scripts): drop dead $path arg from enqueue_public split' (#196) from fix/scripts-undefined-path into main

Reviewed-on: CYL/wordpress-theme-aksrt#196
This commit is contained in:
2026-07-17 15:00:16 +08:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -782,7 +782,7 @@ trait ScriptsPart1b {
}
$this->enqueue_public_fonts_js_and_data($base_uri, $core_dep, $deps, $is_fixed_homepage, $is_home_or_archive, $is_single_post, $is_single_resource, $path, $version);
$this->enqueue_public_fonts_js_and_data($base_uri, $core_dep, $deps, $is_fixed_homepage, $is_home_or_archive, $is_single_post, $is_single_resource, $version);
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ trait ScriptsPart1c {
/**
* Fonts / FA / global JS stack / aksrtData (split from enqueue_public).
*/
private function enqueue_public_fonts_js_and_data($base_uri, $core_dep, $deps, $is_fixed_homepage, $is_home_or_archive, $is_single_post, $is_single_resource, $path, $version): void {
private function enqueue_public_fonts_js_and_data($base_uri, $core_dep, $deps, $is_fixed_homepage, $is_home_or_archive, $is_single_post, $is_single_resource, $version): void {
// ===== 5. 字体 =====
// 5a. 拉丁字体 - Inter (UI) + Source Serif 4 (正文)
wp_enqueue_style(