Skip to content

Commit

Permalink
Merge pull request #808 from carstingaxion/fix/807
Browse files Browse the repository at this point in the history
Hide Admin Notice about alpha-plugin, also if installed via the branch-named zip
  • Loading branch information
mauteri authored Aug 16, 2024
2 parents 34464a9 + 60b648b commit 4c5b27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/core/classes/class-setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ) &&
Expand Down

0 comments on commit 4c5b27d

Please sign in to comment.