8000 Don't load wp-cache-config.php if it's already loaded by stodorovic · Pull Request #605 · Automattic/wp-super-cache · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Don't load wp-cache-config.php if it's already loaded #605

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

Merged

Conversation

stodorovic
Copy link
  • Doesn't load wp-cache-config.php again if it's loaded from wp-cache-phase1.php. This PR preserves changes in wp-cache-phase1.php and plugins (eg. multisite plugin). Also, it's little performance improvement.
  • Deprecation of function get_wpcachehome because constant WPCACHEHOME is already defined in function wpsc_init.
  • PHPCS fixes.

@donnchawp donnchawp merged commit f902486 into Automattic:master Dec 7, 2018
@stodorovic stodorovic deleted the check-is-config-already-loaded branch December 7, 2018 10:35
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

Successfully merging this pull request may close these issues.

2 participants
0