Skip to content

Commit

Permalink
fix: css assets version
Browse files Browse the repository at this point in the history
  • Loading branch information
vermorag committed Nov 20, 2024
1 parent ddafbaf commit da36ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/UI.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static function enqueueScript(
}

if ($hasStyles) {
wp_enqueue_style($handle, Loader::getPluginUrl("build/$fileName.css"), [], Loader::getPluginVersion());
wp_enqueue_style($handle, Loader::getPluginUrl("build/$fileName.css"), [], $script_asset['version']);
}

wp_set_script_translations($handle, 'cdekdelivery', Loader::getPluginPath('lang'));
Expand Down

0 comments on commit da36ee5

Please sign in to comment.