Skip to content

Commit

Permalink
Remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Sep 5, 2024
1 parent e4a3c6a commit 106767c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function filter_active_plugins( $active_plugins ) {
// Include any dependents of Plugin Check, but only if they were already active.
array_filter(
WP_Plugin_Dependencies::get_dependents( dirname( $plugin_check_basename ) ),
static function ( $dependent ) use ( $active_plugins, $new_active_plugins ) {
static function ( $dependent ) use ( $active_plugins ) {
return in_array( $dependent, $active_plugins, true );
}
)
Expand Down

0 comments on commit 106767c

Please sign in to comment.