← All changes
|
backend/src/Services/InstallActions/ActivationMultisite.php
+1
-0
1.0
→
1.5
View file →
| @@ -33,8 +33,9 @@ | ||
| 33 | 33 | foreach ($siteIds as $siteId) { |
| 34 | 34 | switch_to_blog($siteId); |
| 35 | 35 | // Create database table if not exists |
| 36 | 36 | ActivationDatabaseHook::init(); |
| 37 | + ActivationCapabilitiesHook::ensureAdministratorCaps(); | |
| 37 | 38 | } |
| 38 | 39 | // Returns to current blog |
| 39 | 40 | switch_to_blog($oldSite); |
| 40 | 41 | } |