Skip to content

Commit

Permalink
Fix AccelerateWP installation check
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed Nov 17, 2023
1 parent 25d5b1d commit cbaa00d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion includes/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1611,6 +1611,10 @@ public static function acceleratewp_install( $ignore_banner_constant = false ) {
}
}

return false;
if ( $ignore_banner_constant ) {
return false;
}

return defined( 'WP_REDIS_DISABLE_BANNERS' ) && WP_REDIS_DISABLE_BANNERS;
}
}

0 comments on commit cbaa00d

Please sign in to comment.