| @@ -17,8 +17,9 @@ | ||
| 17 | 17 | use WindPress\WindPress\Abilities\Loader as AbilitiesLoader; |
| 18 | 18 | use WindPress\WindPress\Admin\AdminPage; |
| 19 | 19 | use WindPress\WindPress\Api\Router as ApiRouter; |
| 20 | 20 | use WindPress\WindPress\Core\Runtime; |
| 21 | +use WindPress\WindPress\Core\Scanner\SourceRevision; | |
| 21 | 22 | use WindPress\WindPress\Integration\Loader as IntegrationLoader; |
| 22 | 23 | use WindPress\WindPress\Licensing\Manager as LicenseManager; |
| 23 | 24 | use WindPress\WindPress\Upgrade\UpgradeManager; |
| 24 | 25 | use WindPress\WindPress\Utils\Cache as UtilsCache; |
| @@ -85,8 +86,9 @@ | ||
| 85 | 86 | */ |
| 86 | 87 | public function boot(): void |
| 87 | 88 | { |
| 88 | 89 | do_action('a!windpress/plugin:boot.start'); |
| 90 | + SourceRevision::register_hooks(); | |
| 89 | 91 | $this->boot_license_sdk(); |
| 90 | 92 | // (de)activation hooks. |
| 91 | 93 | register_activation_hook(WIND_PRESS::FILE, fn() => $this->activate_plugin()); |
| 92 | 94 | register_deactivation_hook(WIND_PRESS::FILE, fn() => $this->deactivate_plugin()); |