double slash in js path
-
Hello. On my shopping cart page, I noticed in the source the path to the js file has a double slash in it, like:
<script id=”ct-mpac-cart-js” src=”[mysite]/wp-content/plugins/minimum-purchase-amount-for-woo-cart//assets/js/ct-mpac-cart.js?ver=2.3.25“></script>Suggested fix:
It looks like the function registering ‘ct-mpac-cart-js’ is combining a trailing slash from the plugin directory URL with a leading slash in the asset path (e.g., combining plugin_dir_url() with ‘/assets/js/…’).Could you please push a quick update to remove the leading slash from the asset path string so it resolves cleanly?
Thank you!
You must be logged in to reply to this topic.