WordPress Charts and Graphs Lite - Version 1.7.6

Version Description

Download this release

Release Info

Developer codeinwp
Plugin Icon WordPress Charts and Graphs Lite
Version 1.7.6
Comparing to
See all releases

Code changes from version 1.7.5 to 1.7.6

CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
 
 
 
 
2
- Fixed issue when using the same shortcode multiple times on the same page.
3
 
4
 
5
 
6
- Removed footer banner upsell
1
 
2
+
3
+
4
+
5
+
6
 
7
 
8
 
 
classes/Visualizer/Module/Chart.php CHANGED
@@ -619,7 +619,7 @@ class Visualizer_Module_Chart extends Visualizer_Module {
619
  'csv' => $csv,
620
  'name' => $filename,
621
  ));
622
- }
623
 
624
  exit;
625
  }
619
  'csv' => $csv,
620
  'name' => $filename,
621
  ));
622
+ }// End if().
623
 
624
  exit;
625
  }
classes/Visualizer/Module/Frontend.php CHANGED
@@ -111,7 +111,7 @@ class Visualizer_Module_Frontend extends Visualizer_Module {
111
  $id = 'visualizer-' . $atts['id'];
112
  $defaultClass = 'visualizer-front';
113
  $class = apply_filters( Visualizer_Plugin::FILTER_CHART_WRAPPER_CLASS, $atts['class'], $atts['id'] );
114
- $class = $defaultClass . ' ' . $class;
115
  $class = ! empty( $class ) ? ' class="' . trim( $class ) . '"' : '';
116
 
117
  $type = get_post_meta( $chart->ID, Visualizer_Plugin::CF_CHART_TYPE, true );
@@ -139,6 +139,8 @@ class Visualizer_Module_Frontend extends Visualizer_Module {
139
  $data = apply_filters( $atts['data'], $data, $chart->ID, $type );
140
  }
141
 
 
 
142
  // add chart to the array
143
  $this->_charts[ $id ] = array(
144
  'type' => $type,
111
  $id = 'visualizer-' . $atts['id'];
112
  $defaultClass = 'visualizer-front';
113
  $class = apply_filters( Visualizer_Plugin::FILTER_CHART_WRAPPER_CLASS, $atts['class'], $atts['id'] );
114
+ $class = $defaultClass . ' ' . $class . ' ' . 'visualizer-front-' . $atts['id'];
115
  $class = ! empty( $class ) ? ' class="' . trim( $class ) . '"' : '';
116
 
117
  $type = get_post_meta( $chart->ID, Visualizer_Plugin::CF_CHART_TYPE, true );
139
  $data = apply_filters( $atts['data'], $data, $chart->ID, $type );
140
  }
141
 
142
+ $id = $id . '-' . rand();
143
+
144
  // add chart to the array
145
  $this->_charts[ $id ] = array(
146
  'type' => $type,
classes/Visualizer/Plugin.php CHANGED
@@ -29,7 +29,7 @@
29
  class Visualizer_Plugin {
30
 
31
  const NAME = 'visualizer';
32
- const VERSION = '1.7.5';
33
 
34
  // custom post types
35
  const CPT_VISUALIZER = 'visualizer';
29
  class Visualizer_Plugin {
30
 
31
  const NAME = 'visualizer';
32
+ const VERSION = '1.7.6';
33
 
34
  // custom post types
35
  const CPT_VISUALIZER = 'visualizer';
classes/Visualizer/Source/Csv/Remote.php CHANGED
@@ -137,7 +137,7 @@ class Visualizer_Source_Csv_Remote extends Visualizer_Source_Csv {
137
  protected function _get_file_handle( $filename = false ) {
138
  static $allow_url_fopen = null;
139
 
140
- if ( $this->_tmpfile && is_readable( $this->_tmpfile ) ) {
141
  return parent::_get_file_handle( $this->_tmpfile );
142
  }
143
 
137
  protected function _get_file_handle( $filename = false ) {
138
  static $allow_url_fopen = null;
139
 
140
+ if ( ! is_wp_error( $this->_tmpfile ) && $this->_tmpfile && is_readable( $this->_tmpfile ) ) {
141
  return parent::_get_file_handle( $this->_tmpfile );
142
  }
143
 
css/media.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- Version: 1.7.5
3
  */
4
  #visualizer-library-view {
5
  padding: 30px 10px 10px 30px;
1
  /*
2
+ Version: 1.7.6
3
  */
4
  #visualizer-library-view {
5
  padding: 30px 10px 10px 30px;
index.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Visualizer: Charts and Graphs Lite
5
  Plugin URI: https://themeisle.com/plugins/visualizer-charts-and-graphs-lite/
6
  Description: A simple, easy to use and quite powerful tool to create, manage and embed interactive charts into your WordPress posts and pages. The plugin uses Google Visualization API to render charts, which supports cross-browser compatibility (adopting VML for older IE versions) and cross-platform portability to iOS and new Android releases.
7
- Version: 1.7.5
8
  Author: Themeisle
9
  Author URI: http://themeisle.com
10
  License: GPL v2.0 or later
4
  Plugin Name: Visualizer: Charts and Graphs Lite
5
  Plugin URI: https://themeisle.com/plugins/visualizer-charts-and-graphs-lite/
6
  Description: A simple, easy to use and quite powerful tool to create, manage and embed interactive charts into your WordPress posts and pages. The plugin uses Google Visualization API to render charts, which supports cross-browser compatibility (adopting VML for older IE versions) and cross-platform portability to iOS and new Android releases.
7
+ Version: 1.7.6
8
  Author: Themeisle
9
  Author URI: http://themeisle.com
10
  License: GPL v2.0 or later
languages/visualizer.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2016 Themeisle
2
  # This file is distributed under the GPL v2.0 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Visualizer: Charts and Graphs Lite 1.7.2\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/visualizer/issues\n"
7
- "POT-Creation-Date: 2016-12-09 18:57:52+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: Themeisle Translate Team <friends@themeisle.com>\n"
13
  "Language-Team: Themeisle Translate <friends@themeisle.com>\n"
14
  "X-Generator: grunt-wp-i18n 0.5.4\n"
1
+ # Copyright (C) 2017 Themeisle
2
  # This file is distributed under the GPL v2.0 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Visualizer: Charts and Graphs Lite 1.7.5\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/visualizer/issues\n"
7
+ "POT-Creation-Date: 2017-01-20 12:32:52+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: Themeisle Translate Team <friends@themeisle.com>\n"
13
  "Language-Team: Themeisle Translate <friends@themeisle.com>\n"
14
  "X-Generator: grunt-wp-i18n 0.5.4\n"
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: codeinwp,marius2012,marius_codeinwp,hardeepasrani,themeisle,Madalin_ThemeIsle
3
  Tags: chart, charts, charting, graph, graphs, graphing, visualisation, visualise data, visualization, visualize data, HTML5, canvas, pie chart, line chart, bar chart, column chart, gauge chart, area chart, scatter chart, candlestick chart, geo chart, google visualization api
4
  Requires at least: 3.5
5
- Tested up to: 4.6.1
6
  Stable tag: trunk
7
  License: GPL v2.0 or later
8
  License URI: http://www.opensource.org/licenses/gpl-license.php
@@ -70,6 +70,9 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
70
 
71
  == Changelog ==
72
 
 
 
 
73
  = 1.7.5=
74
  * Removed footer banner upsell
75
  * Fixed series settings issue
2
  Contributors: codeinwp,marius2012,marius_codeinwp,hardeepasrani,themeisle,Madalin_ThemeIsle
3
  Tags: chart, charts, charting, graph, graphs, graphing, visualisation, visualise data, visualization, visualize data, HTML5, canvas, pie chart, line chart, bar chart, column chart, gauge chart, area chart, scatter chart, candlestick chart, geo chart, google visualization api
4
  Requires at least: 3.5
5
+ Tested up to: 4.7.1
6
  Stable tag: trunk
7
  License: GPL v2.0 or later
8
  License URI: http://www.opensource.org/licenses/gpl-license.php
70
 
71
  == Changelog ==
72
 
73
+ = 1.7.6=
74
+ * Fixed issue when using the same shortcode multiple times on the same page.
75
+
76
  = 1.7.5=
77
  * Removed footer banner upsell
78
  * Fixed series settings issue