Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path issue for js and css #676

Closed
rianbotha opened this issue Jun 29, 2016 · 0 comments
Closed

Path issue for js and css #676

rianbotha opened this issue Jun 29, 2016 · 0 comments

Comments

@rianbotha
Copy link

I know paths on WIndows with Xampp is listed as a known issue, but we've had no problems with previous versions.

Since the last release we get an issue where the physical path and base URL are joined together to output invalid URLs for JS and CSS.

We managed to track it down and solve it by changing this:
Line number 254 in /includes/CMB2_Utils.php

Current:

$site_dir = ABSPATH;

Adjusted:

$site_dir = self::normalize_path(ABSPATH);

I'm not sure if this would have knock-on effects, but it seems to work without issues.

If it has no side-effects, can you please make the adjustment.

rianbotha pushed a commit to rianbotha/CMB2 that referenced this issue Jun 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant