JezK
Edit File: site-health.php
<?php if ( ! defined( 'WPINC' ) || ! defined( 'ABSPATH' ) ) { die; } class RBSiteHealthPlugin { public function __construct() { add_filter( 'site_status_tests', array( $this, 'deactivate_specific_site_health_tests' ), 10, 1 ); } public function deactivate_specific_site_health_tests( $tests ) { // Remove warning about automatic background updates. unset( $tests['async']['background_updates'] ); /* TODO Should not warn at all, as Age header is present if RB_CACHE is true, but maybe plugin itself is not detected. Maybe we can hook our RBCachePlugin class in a way into that test. */ // Remove warning about missing page cache plugin. if ( defined( 'RB_CACHE' ) && RB_CACHE ) { unset( $tests['async']['page_cache'] ); } // Return tests. return $tests; } } new RBSiteHealthPlugin();