Skip to content

Commit b366dee

Browse files
bug on schedule import #65
1 parent fe5fcb4 commit b366dee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

classes/Visualizer/Module/Chart.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,9 @@ public function uploadData() {
421421
}
422422
}
423423
$render->render();
424-
defined( 'WP_TESTS_DOMAIN' ) ? wp_die() : exit();
424+
if ( ! ( defined( 'VISUALIZER_DO_NOT_DIE' ) && VISUALIZER_DO_NOT_DIE ) ) {
425+
defined( 'WP_TESTS_DOMAIN' ) ? wp_die() : exit();
426+
}
425427
}
426428

427429
/**

0 commit comments

Comments
 (0)