Skip to content

Commit

Permalink
Update condition for initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Aug 21, 2024
1 parent f37a830 commit 3d7d8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Checker/Abstract_Check_Runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ final public function get_checks_to_run() {
$check_flags = Check_Repository::TYPE_STATIC;

// Check if conditions are met in order to perform Runtime Checks.
if ( ( $this->initialized_early || $this->runtime_environment->can_set_up() ) && is_plugin_active( $this->get_plugin_basename() ) ) {
if ( ( $this->initialized_early && $this->runtime_environment->can_set_up() ) && is_plugin_active( $this->get_plugin_basename() ) ) {
$check_flags = Check_Repository::TYPE_ALL;
}

Expand Down

0 comments on commit 3d7d8a3

Please sign in to comment.