bobbingwide / oik-bwtrace

debug trace for WordPress
https://www.oik-plugins.com/oik-plugins/oik-bwtrace-debug-trace-for-wordpress/
GNU General Public License v2.0
6 stars 1 forks source link

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

Closed bobbingwide closed 4 years ago

bobbingwide commented 5 years ago

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

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.