We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5fa223 + a02a284 commit 52267f5Copy full SHA for 52267f5
inc/manager.php
@@ -266,7 +266,8 @@ public function should_replace() {
266
if ( ( is_admin() && ! self::is_ajax_request() ) || ! $this->settings->is_connected() || ! $this->settings->is_enabled() ) {
267
return false; // @codeCoverageIgnore
268
}
269
- if ( array_key_exists( 'preview', $_GET ) && ! empty( $_GET['preview'] ) ) {
+
270
+ if ( array_key_exists( 'preview', $_GET ) && ! empty( $_GET['preview'] ) && ! $this->settings->is_offload_enabled() ) {
271
272
273
0 commit comments