Skip to content

Commit

Permalink
-plugins/jquery-filters: Fix multisite check
Browse files Browse the repository at this point in the history
It gets defined as false by WordPress core.
  • Loading branch information
Krinkle committed Sep 1, 2023
1 parent 2baee5e commit 2beccd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mu-plugins/jquery-filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// Don't mess with themes for now.
continue;
}
if ( $option === 'active_plugins' && !defined( 'MULTISITE' ) ) {
if ( $option === 'active_plugins' && !is_multisite() ) {
// For standalone sites, let Puppet manage plugins.
continue;
}
Expand Down

0 comments on commit 2beccd2

Please sign in to comment.