diff options
Diffstat (limited to 'plugins/jetpack/modules/woocommerce-analytics/wp-woocommerce-analytics.php')
-rw-r--r-- | plugins/jetpack/modules/woocommerce-analytics/wp-woocommerce-analytics.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/woocommerce-analytics/wp-woocommerce-analytics.php b/plugins/jetpack/modules/woocommerce-analytics/wp-woocommerce-analytics.php index eafca1e2..f3ab5d9e 100644 --- a/plugins/jetpack/modules/woocommerce-analytics/wp-woocommerce-analytics.php +++ b/plugins/jetpack/modules/woocommerce-analytics/wp-woocommerce-analytics.php @@ -55,7 +55,7 @@ class Jetpack_WooCommerce_Analytics { * * This action is documented in https://docs.woocommerce.com/document/create-a-plugin */ - if ( ! in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { + if ( ! in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', Jetpack::get_active_plugins() ) ) ) { return false; } |