diff --git a/includes/core/classes/class-setup.php b/includes/core/classes/class-setup.php index 9427b3f08..9c2057b71 100644 --- a/includes/core/classes/class-setup.php +++ b/includes/core/classes/class-setup.php @@ -432,7 +432,7 @@ public function check_users_can_register(): void { */ public function check_gatherpress_alpha(): void { if ( - is_plugin_active( 'gatherpress-alpha/gatherpress-alpha.php' ) || + defined( 'GATHERPRESS_ALPHA_VERSION' ) || filter_var( ! current_user_can( 'install_plugins' ), FILTER_VALIDATE_BOOLEAN ) || ( false === strpos( get_current_screen()->id, 'plugins' ) && false === strpos( get_current_screen()->id, 'plugin-install' ) &&