WordPress Charts and Graphs Lite - Version 3.7.10

Version Description

Download this release

Release Info

Developer themeisle
Plugin Icon WordPress Charts and Graphs Lite
Version 3.7.10
Comparing to
See all releases

Code changes from version 3.7.9 to 3.7.10

CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  ##### [Version 3.7.9](https://github.com/Codeinwp/visualizer/compare/v3.7.8...v3.7.9) (2022-06-22)
2
 
3
  * Fix branding bad HTML
1
+ ##### [Version 3.7.10](https://github.com/Codeinwp/visualizer/compare/v3.7.9...v3.7.10) (2022-07-05)
2
+
3
+
4
+ - Fix watermark/copyright opacity wrong value [#910](https://github.com/Codeinwp/visualizer/issues/910)
5
+
6
  ##### [Version 3.7.9](https://github.com/Codeinwp/visualizer/compare/v3.7.8...v3.7.9) (2022-06-22)
7
 
8
  * Fix branding bad HTML
classes/Visualizer/Gutenberg/Block.php CHANGED
@@ -750,8 +750,12 @@ class Visualizer_Gutenberg_Block {
750
  return false;
751
  }
752
 
753
- if ( $data['url'] && ! is_wp_error( $data['url'] ) && filter_var( $data['url'], FILTER_VALIDATE_URL ) ) {
754
- $source = new Visualizer_Source_Csv_Remote( $data['url'] );
 
 
 
 
755
  if ( $source->fetch() ) {
756
  $temp = $source->getData();
757
  if ( is_string( $temp ) && is_array( unserialize( $temp ) ) ) {
750
  return false;
751
  }
752
 
753
+ $remote_data = false;
754
+ if ( isset( $data['url'] ) && function_exists( 'wp_http_validate_url' ) ) {
755
+ $remote_data = wp_http_validate_url( $data['url'] );
756
+ }
757
+ if ( false !== $remote_data && ! is_wp_error( $remote_data ) ) {
758
+ $source = new Visualizer_Source_Csv_Remote( $remote_data );
759
  if ( $source->fetch() ) {
760
  $temp = $source->getData();
761
  if ( is_string( $temp ) && is_array( unserialize( $temp ) ) ) {
classes/Visualizer/Module/Chart.php CHANGED
@@ -1111,10 +1111,15 @@ class Visualizer_Module_Chart extends Visualizer_Module {
1111
 
1112
  $source = null;
1113
  $render = new Visualizer_Render_Page_Update();
1114
- if ( isset( $_POST['remote_data'] ) && filter_var( $_POST['remote_data'], FILTER_VALIDATE_URL ) ) {
1115
- $source = new Visualizer_Source_Csv_Remote( $_POST['remote_data'] );
 
 
 
 
 
1116
  if ( isset( $_POST['vz-import-time'] ) ) {
1117
- apply_filters( 'visualizer_pro_chart_schedule', $chart_id, $_POST['remote_data'], $_POST['vz-import-time'] );
1118
  }
1119
  // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
1120
  } elseif ( isset( $_FILES['local_data'] ) && $_FILES['local_data']['error'] == 0 ) {
1111
 
1112
  $source = null;
1113
  $render = new Visualizer_Render_Page_Update();
1114
+
1115
+ $remote_data = false;
1116
+ if ( isset( $_POST['remote_data'] ) && function_exists( 'wp_http_validate_url' ) ) {
1117
+ $remote_data = wp_http_validate_url( $_POST['remote_data'] );
1118
+ }
1119
+ if ( false !== $remote_data ) {
1120
+ $source = new Visualizer_Source_Csv_Remote( $remote_data );
1121
  if ( isset( $_POST['vz-import-time'] ) ) {
1122
+ apply_filters( 'visualizer_pro_chart_schedule', $chart_id, $remote_data, $_POST['vz-import-time'] );
1123
  }
1124
  // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
1125
  } elseif ( isset( $_FILES['local_data'] ) && $_FILES['local_data']['error'] == 0 ) {
classes/Visualizer/Module/Frontend.php CHANGED
@@ -477,7 +477,7 @@ class Visualizer_Module_Frontend extends Visualizer_Module {
477
  $prefix = 'T' . 'a' . 'bl' . 'e';
478
  }
479
  // return placeholder div
480
- return '<div class="' . $container_class . '">' . $actions_div . '<div id="' . $id . '"' . $this->getHtmlAttributes( $attributes ) . '></div>' . $this->addSchema( $chart->ID ) . ( ! Visualizer_Module::is_pro() ? ( '<' . 'di' . 'v st' . 'yl' . 'e="' . 'op' . 'a' . 'ci' . 't' . 'y:' . '0' . '.' . '.7' . ';t' . 'ex' . 't-a' . 'li' . 'gn:' . 'ri' . 'gh' . 't;b' . 'o' . 'tto' . 'm: 1' . '0px; z-i' . 'nd' . 'ex:1' . '00' . '0; ' . 'le' . 'ft' . ':2' . '0px' . '; fo' . 'nt-si' . 'ze: 1' . '4px">' . $prefix . ' b' . 'y' . ' <a ' . 'h' . 're' . 'f="ht' . 'tp' . 's:/' . '/t' . 'he' . 'me' . 'i' . 'sl' . 'e' . '.c' . 'om' . '/p' . 'lu' . 'gi' . 'ns' . '/v' . 'i' . 'su' . 'al' . 'iz' . 'er' . '-c' . 'ha' . 'rts' . '-a' . 'nd' . '-gr' . 'ap' . 'hs' . '/" t' . 'arg' . 'et="' . '_bl' . 'an' . 'k" re' . 'l=' . '"no' . 'fol' . 'l' . 'ow"' . '>V' . 'is' . 'u' . 'a' . 'l' . 'i' . 'z' . 'e' . 'r' . '</' . 'a' . '>' . '<' . '/' . 'd' . 'i' . 'v' . '>' ) : '' ) . '</div>';
481
  }
482
 
483
  /**
477
  $prefix = 'T' . 'a' . 'bl' . 'e';
478
  }
479
  // return placeholder div
480
+ return '<div class="' . $container_class . '">' . $actions_div . '<div id="' . $id . '"' . $this->getHtmlAttributes( $attributes ) . '></div>' . $this->addSchema( $chart->ID ) . ( ! Visualizer_Module::is_pro() ? ( '<' . 'di' . 'v st' . 'yl' . 'e="' . 'op' . 'a' . 'ci' . 't' . 'y:' . '0' . '.7' . ';t' . 'ex' . 't-a' . 'li' . 'gn:' . 'ri' . 'gh' . 't;b' . 'o' . 'tto' . 'm: 1' . '0px; z-i' . 'nd' . 'ex:1' . '00' . '0; ' . 'le' . 'ft' . ':2' . '0px' . '; fo' . 'nt-si' . 'ze: 1' . '4px">' . $prefix . ' b' . 'y' . ' <a ' . 'h' . 're' . 'f="ht' . 'tp' . 's:/' . '/t' . 'he' . 'me' . 'i' . 'sl' . 'e' . '.c' . 'om' . '/p' . 'lu' . 'gi' . 'ns' . '/v' . 'i' . 'su' . 'al' . 'iz' . 'er' . '-c' . 'ha' . 'rts' . '-a' . 'nd' . '-gr' . 'ap' . 'hs' . '/" t' . 'arg' . 'et="' . '_bl' . 'an' . 'k" re' . 'l=' . '"no' . 'fol' . 'l' . 'ow"' . '>V' . 'is' . 'u' . 'a' . 'l' . 'i' . 'z' . 'e' . 'r' . '</' . 'a' . '>' . '<' . '/' . 'd' . 'i' . 'v' . '>' ) : '' ) . '</div>';
481
  }
482
 
483
  /**
classes/Visualizer/Plugin.php CHANGED
@@ -28,7 +28,7 @@
28
  class Visualizer_Plugin {
29
 
30
  const NAME = 'visualizer';
31
- const VERSION = '3.7.9';
32
 
33
  // custom post types
34
  const CPT_VISUALIZER = 'visualizer';
28
  class Visualizer_Plugin {
29
 
30
  const NAME = 'visualizer';
31
+ const VERSION = '3.7.10';
32
 
33
  // custom post types
34
  const CPT_VISUALIZER = 'visualizer';
css/media.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- Version: 3.7.9
3
  */
4
  #visualizer-library-view {
5
  padding: 30px 10px 10px 30px;
1
  /*
2
+ Version: 3.7.10
3
  */
4
  #visualizer-library-view {
5
  padding: 30px 10px 10px 30px;
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Visualizer: Tables and Charts for WordPress
4
  Plugin URI: https://themeisle.com/plugins/visualizer-charts-and-graphs-lite/
5
  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.
6
- Version: 3.7.9
7
  Author: Themeisle
8
  Author URI: http://themeisle.com
9
  Requires at least: 3.5
3
  Plugin Name: Visualizer: Tables and Charts for WordPress
4
  Plugin URI: https://themeisle.com/plugins/visualizer-charts-and-graphs-lite/
5
  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.
6
+ Version: 3.7.10
7
  Author: Themeisle
8
  Author URI: http://themeisle.com
9
  Requires at least: 3.5
readme.txt CHANGED
@@ -163,6 +163,14 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
163
 
164
  == Changelog ==
165
 
 
 
 
 
 
 
 
 
166
  ##### [Version 3.7.9](https://github.com/Codeinwp/visualizer/compare/v3.7.8...v3.7.9) (2022-06-22)
167
 
168
  * Fix branding bad HTML
163
 
164
  == Changelog ==
165
 
166
+ ##### [Version 3.7.10](https://github.com/Codeinwp/visualizer/compare/v3.7.9...v3.7.10) (2022-07-05)
167
+
168
+
169
+ - Fix watermark/copyright opacity wrong value [#910](https://github.com/Codeinwp/visualizer/issues/910)
170
+
171
+
172
+
173
+
174
  ##### [Version 3.7.9](https://github.com/Codeinwp/visualizer/compare/v3.7.8...v3.7.9) (2022-06-22)
175
 
176
  * Fix branding bad HTML
vendor/autoload.php CHANGED
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
- return ComposerAutoloaderInit07e568580e7bc3084a877961ea0a2991::getLoader();
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
+ return ComposerAutoloaderInit39d21daade21edfab7e040e4ef86a06e::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit07e568580e7bc3084a877961ea0a2991
6
  {
7
  private static $loader;
8
 
@@ -24,18 +24,18 @@ class ComposerAutoloaderInit07e568580e7bc3084a877961ea0a2991
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit07e568580e7bc3084a877961ea0a2991', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit07e568580e7bc3084a877961ea0a2991', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
- call_user_func(\Composer\Autoload\ComposerStaticInit07e568580e7bc3084a877961ea0a2991::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
36
- $includeFiles = \Composer\Autoload\ComposerStaticInit07e568580e7bc3084a877961ea0a2991::$files;
37
  foreach ($includeFiles as $fileIdentifier => $file) {
38
- composerRequire07e568580e7bc3084a877961ea0a2991($fileIdentifier, $file);
39
  }
40
 
41
  return $loader;
@@ -47,7 +47,7 @@ class ComposerAutoloaderInit07e568580e7bc3084a877961ea0a2991
47
  * @param string $file
48
  * @return void
49
  */
50
- function composerRequire07e568580e7bc3084a877961ea0a2991($fileIdentifier, $file)
51
  {
52
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
53
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit39d21daade21edfab7e040e4ef86a06e
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit39d21daade21edfab7e040e4ef86a06e', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit39d21daade21edfab7e040e4ef86a06e', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInit39d21daade21edfab7e040e4ef86a06e::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
36
+ $includeFiles = \Composer\Autoload\ComposerStaticInit39d21daade21edfab7e040e4ef86a06e::$files;
37
  foreach ($includeFiles as $fileIdentifier => $file) {
38
+ composerRequire39d21daade21edfab7e040e4ef86a06e($fileIdentifier, $file);
39
  }
40
 
41
  return $loader;
47
  * @param string $file
48
  * @return void
49
  */
50
+ function composerRequire39d21daade21edfab7e040e4ef86a06e($fileIdentifier, $file)
51
  {
52
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
53
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit07e568580e7bc3084a877961ea0a2991
8
  {
9
  public static $files = array (
10
  'abede361264e2ae69ec1eee813a101af' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/abs.php',
@@ -356,10 +356,10 @@ class ComposerStaticInit07e568580e7bc3084a877961ea0a2991
356
  public static function getInitializer(ClassLoader $loader)
357
  {
358
  return \Closure::bind(function () use ($loader) {
359
- $loader->prefixLengthsPsr4 = ComposerStaticInit07e568580e7bc3084a877961ea0a2991::$prefixLengthsPsr4;
360
- $loader->prefixDirsPsr4 = ComposerStaticInit07e568580e7bc3084a877961ea0a2991::$prefixDirsPsr4;
361
- $loader->prefixesPsr0 = ComposerStaticInit07e568580e7bc3084a877961ea0a2991::$prefixesPsr0;
362
- $loader->classMap = ComposerStaticInit07e568580e7bc3084a877961ea0a2991::$classMap;
363
 
364
  }, null, ClassLoader::class);
365
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit39d21daade21edfab7e040e4ef86a06e
8
  {
9
  public static $files = array (
10
  'abede361264e2ae69ec1eee813a101af' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/abs.php',
356
  public static function getInitializer(ClassLoader $loader)
357
  {
358
  return \Closure::bind(function () use ($loader) {
359
+ $loader->prefixLengthsPsr4 = ComposerStaticInit39d21daade21edfab7e040e4ef86a06e::$prefixLengthsPsr4;
360
+ $loader->prefixDirsPsr4 = ComposerStaticInit39d21daade21edfab7e040e4ef86a06e::$prefixDirsPsr4;
361
+ $loader->prefixesPsr0 = ComposerStaticInit39d21daade21edfab7e040e4ef86a06e::$prefixesPsr0;
362
+ $loader->classMap = ComposerStaticInit39d21daade21edfab7e040e4ef86a06e::$classMap;
363
 
364
  }, null, ClassLoader::class);
365
  }
vendor/composer/installed.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'codeinwp/visualizer',
4
- 'pretty_version' => 'v3.7.9',
5
- 'version' => '3.7.9.0',
6
- 'reference' => '37e45d7dd4b0c0a1fe4b4212aab00ee7f0d5cc0b',
7
  'type' => 'wordpress-plugin',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
@@ -20,9 +20,9 @@
20
  'dev_requirement' => false,
21
  ),
22
  'codeinwp/visualizer' => array(
23
- 'pretty_version' => 'v3.7.9',
24
- 'version' => '3.7.9.0',
25
- 'reference' => '37e45d7dd4b0c0a1fe4b4212aab00ee7f0d5cc0b',
26
  'type' => 'wordpress-plugin',
27
  'install_path' => __DIR__ . '/../../',
28
  'aliases' => array(),
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'codeinwp/visualizer',
4
+ 'pretty_version' => 'v3.7.10',
5
+ 'version' => '3.7.10.0',
6
+ 'reference' => '6fa01e7496947364c01ac0a5749e0a674930d9c6',
7
  'type' => 'wordpress-plugin',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
20
  'dev_requirement' => false,
21
  ),
22
  'codeinwp/visualizer' => array(
23
+ 'pretty_version' => 'v3.7.10',
24
+ 'version' => '3.7.10.0',
25
+ 'reference' => '6fa01e7496947364c01ac0a5749e0a674930d9c6',
26
  'type' => 'wordpress-plugin',
27
  'install_path' => __DIR__ . '/../../',
28
  'aliases' => array(),