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:
commit
0335517467
2 files changed
+2
-2
No files matched your search
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -19,7 +19,7 @@ trait ScriptsPart1c {
|
|||||||
/**
|
/**
|
||||||
* Fonts / FA / global JS stack / aksrtData (split from enqueue_public).
|
* 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. 字体 =====
|
// ===== 5. 字体 =====
|
||||||
// 5a. 拉丁字体 - Inter (UI) + Source Serif 4 (正文)
|
// 5a. 拉丁字体 - Inter (UI) + Source Serif 4 (正文)
|
||||||
wp_enqueue_style(
|
wp_enqueue_style(
|
||||||
|
|||||||
Reference in new issue
Block a user