| @@ -143,11 +143,13 @@ | ||
| 143 | 143 | } |
| 144 | 144 | |
| 145 | 145 | /** |
| 146 | 146 | * Activation hook propagator — calls activate() on every registered |
| 147 | - * module. Free modules are registered before this runs (activation | |
| 148 | - * happens after the bootstrap require_onces). Pro modules run their | |
| 149 | - * own activation via the xspeed-pro main file. | |
| 147 | + * module. Plugin::activate() fills the registry first via | |
| 148 | + * Plugin::ensure_modules_registered(); plugins_loaded has already fired | |
| 149 | + * by the time activate_plugin() includes the plugin, so nothing else | |
| 150 | + * would. Pro modules run their own activation via the xspeed-pro main | |
| 151 | + * file. | |
| 150 | 152 | */ |
| 151 | 153 | public static function activate_all(): void { |
| 152 | 154 | foreach ( self::$modules as $module ) { |
| 153 | 155 | if ( Tier_Registry::is_available( $module ) ) { |