Removes slash from end of path
-
I just updated my website to the latest version of W3TC (0.9.2.8). An inline included Javascript had the following line:
Javascript (original):
ts.graphicsDir = ‘https://domain.com/wp-content/my-files/graphics/’;W3TC was changing it into this, which broke the JS library:
Javascript (munged):
ts.graphicsDir = ‘https://cdn6.domain.com/wp-content/my-files/graphics’;I fixed the problem by adding an exception to W3TC:
CDN settings, Rejected files:
wp-content/my-files/graphics/*
- The topic ‘Removes slash from end of path’ is closed to new replies.