Skip to content

Commit 6f647f0

Browse files
bug on schedule import #65
update fails after first chart
1 parent fe5fcb4 commit 6f647f0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
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
/**

languages/visualizer.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ msgid ""
44
msgstr ""
55
"Project-Id-Version: Visualizer: Charts and Graphs Lite 2.0.5\n"
66
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/visualizer/issues\n"
7-
"POT-Creation-Date: 2017-05-04 11:51:27+00:00\n"
7+
"POT-Creation-Date: 2017-05-06 09:56:13+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"
@@ -102,7 +102,7 @@ msgid "Pro Addon"
102102
msgstr ""
103103

104104
#: classes/Visualizer/Module/Chart.php:295
105-
#: classes/Visualizer/Module/Chart.php:574
105+
#: classes/Visualizer/Module/Chart.php:576
106106
msgid "You have entered invalid URL. Please, insert proper URL."
107107
msgstr ""
108108

0 commit comments

Comments
 (0)