diff --git a/lib/assets.php b/lib/assets.php index c090cfb..ed2dcfb 100644 --- a/lib/assets.php +++ b/lib/assets.php @@ -59,7 +59,7 @@ function asset_path($filename) { static $manifest; if (empty($manifest)) { - $manifest_path = get_template_directory() . '/dist/assets.json'; + $manifest_path = get_template_directory() . $dist_path . 'assets.json'; $manifest = new JsonManifest($manifest_path); } @@ -130,7 +130,7 @@ function jquery_local_fallback($src, $handle = null) { static $add_jquery_fallback = false; if ($add_jquery_fallback) { - echo '' . "\n"; + echo '' . "\n"; $add_jquery_fallback = false; } @@ -171,4 +171,3 @@ function google_analytics() { if (GOOGLE_ANALYTICS_ID) { add_action('wp_footer', __NAMESPACE__ . '\\google_analytics', 20); } -