Skip to content

Commit

Permalink
fix: compatibility with Oxygen builder, removes image replacement in …
Browse files Browse the repository at this point in the history
…the editor
  • Loading branch information
selul committed Mar 29, 2019
1 parent 9f74a42 commit 015698d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inc/manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ public function should_replace() {
if ( array_key_exists( 'elementor-preview', $_GET ) && ! empty( $_GET['elementor-preview'] ) ) {
return false; // @codeCoverageIgnore
}

if ( array_key_exists( 'ct_builder', $_GET ) && $_GET['ct_builder'] == 'true' ) {
return false; // @codeCoverageIgnore
}
if ( class_exists( 'FLBuilderModel', false ) ) {
$post_data = FLBuilderModel::get_post_data();
if ( isset( $_GET['fl_builder'] ) || isset( $post_data['fl_builder'] ) ) {
Expand Down

0 comments on commit 015698d

Please sign in to comment.