We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b18e290 commit 57d4c0bCopy full SHA for 57d4c0b
src/Admin/SiteHealth.php
@@ -103,7 +103,7 @@ public function register() {
103
add_filter( 'site_status_test_php_modules', [ $this, 'add_extensions' ] );
104
105
if ( version_compare( get_bloginfo( 'version' ), '6.1', '>=' ) && has_filter( 'amp_page_cache_good_response_time_threshold' ) ) {
106
- add_filter( 'site_status_good_response_time_threshold', 'get_good_response_time_threshold' );
+ add_filter( 'site_status_good_response_time_threshold', [ $this, 'get_good_response_time_threshold' ] );
107
}
108
109
add_action( 'admin_print_styles-tools_page_health-check', [ $this, 'add_styles' ] );
0 commit comments