Skip to content

Commit

Permalink
fix: improve compatibility with WP Migrate DB
Browse files Browse the repository at this point in the history
  • Loading branch information
selul committed Dec 14, 2019
1 parent e0268fa commit 02df077
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 @@ -200,6 +200,9 @@ public static function is_ajax_request() {
if ( ! wp_doing_ajax() ) {
return false;
}
if ( isset( $_REQUEST['action'] ) && strpos( $_REQUEST['action'], 'wpmdb' ) !== false ) {
return false;
}

return true;
}
Expand Down

0 comments on commit 02df077

Please sign in to comment.