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

Don't write trace summary report in response to wp-admin/?health-check-test-wp_version_check=1 #77

Closed
bobbingwide opened this issue Mar 21, 2019 · 0 comments
Assignees
Labels

Comments

@bobbingwide
Copy link
Owner

bobbingwide commented Mar 21, 2019

While running the health-check plugins tests I was getting
A plugin has prevented updates by disabling wp_version_check()

It turns out that the test_wp_version_check_attached function is rather sensitive to the reply it receives
to the following request.
wp-admin/?health-check-test-wp_version_check=1

  • It only expects a reply of yes
  • It can't handle the HTML comments returned by oik-bwtrace.

Workaround fix for oik-bwtrace

update bw_trace_ok_to_echo() to return false when the query parameter health-check-test-wp_version_check has been passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant