-
Notifications
You must be signed in to change notification settings - Fork 43
Labels
needs:code-reviewThis requires code review.This requires code review.
Milestone
Description
Is your enhancement related to a problem? Please describe.
Hi, install Query Monitor and activate plugin.
Look at database -> you will see
SELECT option_value
FROM ap_options
WHERE option_name = 'active_sitewide_plugins'
LIMIT 1
problem is in_network
Please change it to =>
public static function is_network( $plugin ) {
if ( ! is_multisite() )
return false;
$plugins = get_site_option( 'active_sitewide_plugins', array() );
if ( isset( $plugins[ $plugin ] ) ) {
return true;
}
return false;
}
Designs
No response
Describe alternatives you've considered
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
needs:code-reviewThis requires code review.This requires code review.
Projects
Status
Backlog