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

WP_ROOT_DIR replace too greedy #115

Merged
merged 1 commit into from Nov 2, 2017

Conversation

2 participants
@jellycode
Contributor

jellycode commented Nov 2, 2017

Changed str_replace to substr to only remove the AUTOTIMIZE_WP_CONTENT_NAME from the end of WP_CONTENT_DIR, instead of in the entire string.

WP_ROOT_DIR replace too greedy
Changed str_replace to substr to only remove the AUTOTIMIZE_WP_CONTENT_NAME from the end of WP_CONTENT_DIR, instead of in the entire string.

@futtta futtta merged commit fff4cbd into futtta:master Nov 2, 2017

1 check passed

Scrutinizer No new issues
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment