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

Skip check on global object cache. #30

Merged
merged 2 commits into from
Sep 15, 2023
Merged

Skip check on global object cache. #30

merged 2 commits into from
Sep 15, 2023

Conversation

joehoyle
Copy link
Member

This is useless and it's breaking Afterburner

This is useless and it's breaking Afterburner
@@ -487,16 +487,6 @@ function add_debug_html_to_output( $debug_html ) {

wp_cache_init(); // Note: wp-settings.php calls wp_cache_init() which clobbers the object made here.

global $wp_object_cache;
if ( ! is_object( $wp_object_cache ) ) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you'll need to also change the method_exists below :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks for pointing that out.

@joehoyle joehoyle merged commit 7987b33 into master Sep 15, 2023
@joehoyle joehoyle deleted the afteburner-compat branch September 15, 2023 13:25
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.

None yet

2 participants