fix(scripts): drop dead $path arg from enqueue_public split
Trait split left enqueue_public_fonts_js_and_data requiring $path, but caller never defines it; param unused. Remove to silence PHP warnings.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user