PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 3.1.2
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v3.1.2
3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 All 111 releases
← All changes | includes/Core/Importer/LogHelper.php +2 -2 3.0.83.1.2 View file →
@@ -50,9 +50,9 @@
50 50 echo esc_html( ':' . str_repeat( ' ', 2048 ) . "\n\n" );
51 51
52 52 flush();
53 53 }
54 - else if($data['action'] === 'complete' || $data['action'] === 'error'){
54 + else if($data['action'] === 'complete' || $data['action'] === 'downloadComplete' || $data['action'] === 'error'){
55 55 wp_send_json( $data );
56 56 }
57 57 }
58 58
@@ -65,10 +65,10 @@
65 65 public function debug_log( $log ){
66 66 if ( defined('TEMPLATELY_EVENT_LOG') && TEMPLATELY_EVENT_LOG === true ) {
67 67 if ( is_array( $log ) || is_object( $log ) ) {
68 68 error_log( print_r( $log, true ) );
69 - } else {
69 + } else if($log) {
70 70 error_log( $log );
71 71 }
72 72 }
73 73 }
74 74 }