diff --git a/web/app/mu-plugins/creame-optimize.php b/web/app/mu-plugins/creame-optimize.php index 644b6c28e5..50049a8883 100644 --- a/web/app/mu-plugins/creame-optimize.php +++ b/web/app/mu-plugins/creame-optimize.php @@ -293,8 +293,12 @@ function creame_remove_hentry_class($classes) { // Conditional plugin load. function creame_active_plugins ($plugins){ - // Heartbeat disable all (except Elementor) - if (wp_doing_ajax() && isset($_POST['action']) && 'heartbeat' === $_POST['action']) return array_intersect($plugins, ['elementor/elementor.php']); + // Heartbeat disable all without heartbeat filters + if (wp_doing_ajax() && isset($_POST['action']) && 'heartbeat' === $_POST['action']) return array_intersect($plugins, [ + 'elementor/elementor.php', + 'ithemes-security-pro/ithemes-security-pro.php', + 'woocommerce/woocommerce.php', + ]); // Admin only plugins if (!defined('WP_CLI') && !is_admin()) return array_diff($plugins, [ 'classic-editor/classic-editor.php',