Pro Reports - Check if plugin is enabled for site
Hi,
I think something could be improved in Pro Reports.
I'm in a situation where some of our child sites have almost all report-compatible plugins (analytics, uptime, lighthouse...)
and others have none or few of them.
The problem is that in report template, MainWP is using "is_plugin_active" to know if analytics is enabled.
If the plugin is enabled in MainWP, but not in the child site, empty data will be showing in the report of this child.
In "Report Data", everything is set on "Hide if empty", but it has no effect.
tl;dr : When checking if plugin a is enabled in Pro reports, also check that it's enabled for the site of the report.