Skip to content

Commit

Permalink
fix: remove replacement on Divi theme builder
Browse files Browse the repository at this point in the history
  • Loading branch information
selul committed Aug 19, 2019
1 parent 48a4966 commit 86ab6d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ public function should_replace() {
if ( array_key_exists( 'ct_builder', $_GET ) && $_GET['ct_builder'] == 'true' ) {
return false; // @codeCoverageIgnore
}
if ( array_key_exists( 'et_fb', $_GET ) && ( $_GET['et_fb'] == 'true' || $_GET['et_fb'] == '1' ) ) {
return false; // @codeCoverageIgnore
}
if ( array_key_exists( 'context', $_GET ) && $_GET['context'] == 'edit' ) {
return false; // @codeCoverageIgnore
}
Expand Down

0 comments on commit 86ab6d2

Please sign in to comment.