Skip to content

Commit

Permalink
Fix redirect issue when edit clone chart #915
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Aug 1, 2022
1 parent 3f35dac commit ac521a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions classes/Visualizer/Module/Chart.php
Original file line number Diff line number Diff line change
Expand Up @@ -1245,15 +1245,16 @@ public function cloneChart() {
'vaction' => false,
),
admin_url( 'admin.php' )
)
),
null,
'db'
);
}
}

if ( defined( 'WP_TESTS_DOMAIN' ) ) {
wp_die();
}

wp_redirect( $redirect );
exit;
}
Expand Down

0 comments on commit ac521a4

Please sign in to comment.