diff --git a/airplane-mode.php b/airplane-mode.php index 79786bf..1297e23 100644 --- a/airplane-mode.php +++ b/airplane-mode.php @@ -155,7 +155,7 @@ private function __construct() { // Allows locally defined JETPACK_DEV_DEBUG constant to override filter. if ( ! defined( 'JETPACK_DEV_DEBUG' ) ) { - if ( ! function_exists( 'get_plugin_data' ) ) { + if ( ! function_exists( 'get_plugin_data' ) || ! function_exists( 'is_plugin_active' ) ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; }