Skip to content

Commit

Permalink
Update PluginService.php
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Sep 17, 2024
1 parent 68df8ff commit 97b2054
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions includes/Services/PluginService.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ public static function initialize() {
)
);
}

if ( $init_plugin['activate'] && ! PluginInstaller::is_active( $init_plugin_path ) ) {
PluginActivationTaskManager::add_to_queue(
new PluginActivationTask(
$init_plugin['slug']
)
);
}
}

return true;
Expand Down

0 comments on commit 97b2054

Please sign in to comment.