Bug: Double Slash for Assets
-
Some asset URLs show a double slash (//) in the middle. One example is “coupon-code-24” as shown in this screenshot:
This affects CDN caching, since it seems that my CDNs don’t store URLs with double slashes.
This might be due to the this line in wp-coupons-and-deals/includes/main.php :
$this->plugin_assets = $this->plugin_dir_uri . trailingslashit( ‘assets’ );
Need to remove the trailing slash!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug: Double Slash for Assets’ is closed to new replies.