diff --git a/inc/manager.php b/inc/manager.php index a715b930..b89d09c7 100644 --- a/inc/manager.php +++ b/inc/manager.php @@ -266,7 +266,8 @@ public function should_replace() { if ( ( is_admin() && ! self::is_ajax_request() ) || ! $this->settings->is_connected() || ! $this->settings->is_enabled() ) { return false; // @codeCoverageIgnore } - if ( array_key_exists( 'preview', $_GET ) && ! empty( $_GET['preview'] ) ) { + + if ( array_key_exists( 'preview', $_GET ) && ! empty( $_GET['preview'] ) && ! $this->settings->is_offload_enabled() ) { return false; // @codeCoverageIgnore }