| @@ -16,8 +16,9 @@ | ||
| 16 | 16 | use Forge12\DoubleOptIn\Health\LegacyMonolithCheck; |
| 17 | 17 | use Forge12\DoubleOptIn\Health\SiteHealthIntegration; |
| 18 | 18 | use Forge12\DoubleOptIn\Health\StaleConsentFieldCheck; |
| 19 | 19 | use Forge12\DoubleOptIn\Health\StaleProMarkersCheck; |
| 20 | +use Forge12\DoubleOptIn\Health\AddonCompatibilityCheck; | |
| 20 | 21 | |
| 21 | 22 | if ( ! defined( 'ABSPATH' ) ) { |
| 22 | 23 | exit; |
| 23 | 24 | } |
| @@ -103,8 +104,11 @@ | ||
| 103 | 104 | // or absent, so a check shipped inside bundle-pro would be the one |
| 104 | 105 | // thing not loaded when it is needed. |
| 105 | 106 | $registry->register( new LegacyMonolithCheck() ); |
| 106 | 107 | $registry->register( new StaleProMarkersCheck() ); |
| 108 | + | |
| 109 | + // Add-ons that predate the 5.8 move of editing code out of Core. | |
| 110 | + $registry->register( new AddonCompatibilityCheck() ); | |
| 107 | 111 | |
| 108 | 112 | ( new HealthRepairController() )->register(); |
| 109 | 113 | |
| 110 | 114 | ( new SiteHealthIntegration( $registry ) )->register(); |