From d6a80405f7a50d3f93545f3a755f5a2ba6fffb05 Mon Sep 17 00:00:00 2001 From: Steve Jones Date: Tue, 23 Jan 2024 10:47:28 -0500 Subject: [PATCH] fixed - appCssUrl to prevent 404 --- includes/enqueue-scripts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/enqueue-scripts.php b/includes/enqueue-scripts.php index d52857ae..5f181188 100644 --- a/includes/enqueue-scripts.php +++ b/includes/enqueue-scripts.php @@ -154,7 +154,7 @@ function edac_enqueue_scripts() { 'edacUrl' => esc_url_raw( get_site_url() ), 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'loggedIn' => is_user_logged_in(), - 'appCssUrl' => plugin_dir_url( __DIR__ ) . 'build/css/frontendHighlighterApp.css?ver=' . EDAC_VERSION, + 'appCssUrl' => EDAC_PLUGIN_URL . 'build/css/frontendHighlighterApp.css?ver=' . EDAC_VERSION, ) );