WordPress Charts and Graphs Lite - Version 3.7.12

Version Description

Download this release

Release Info

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

Code changes from version 3.7.11 to 3.7.12

CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  ##### [Version 3.7.11](https://github.com/Codeinwp/visualizer/compare/v3.7.10...v3.7.11) (2022-08-30)
2
 
3
  - Fix update axis baseline color [#925](https://github.com/Codeinwp/visualizer/issues/925)
1
+ ##### [Version 3.7.12](https://github.com/Codeinwp/visualizer/compare/v3.7.11...v3.7.12) (2022-09-07)
2
+
3
+ - Fixed compatibility issue with some themes and plugins [#933](https://github.com/Codeinwp/visualizer/issues/933)
4
+
5
  ##### [Version 3.7.11](https://github.com/Codeinwp/visualizer/compare/v3.7.10...v3.7.11) (2022-08-30)
6
 
7
  - Fix update axis baseline color [#925](https://github.com/Codeinwp/visualizer/issues/925)
classes/Visualizer/Module.php CHANGED
@@ -67,7 +67,7 @@ class Visualizer_Module {
67
  $this->_addFilter( Visualizer_Plugin::FILTER_UNDO_REVISIONS, 'undoRevisions', 10, 2 );
68
  $this->_addFilter( Visualizer_Plugin::FILTER_HANDLE_REVISIONS, 'handleExistingRevisions', 10, 2 );
69
  $this->_addFilter( Visualizer_Plugin::FILTER_GET_CHART_DATA_AS, 'getDataAs', 10, 3 );
70
- $this->_addFilter( Visualizer_Plugin::FILTER_CHART_TITLE, 'filterChartTitle', 10, 2 );
71
  register_shutdown_function( array($this, 'onShutdown') );
72
 
73
  }
@@ -793,6 +793,21 @@ class Visualizer_Module {
793
  );
794
  }
795
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
796
  /**
797
  * Filter chart title.
798
  *
67
  $this->_addFilter( Visualizer_Plugin::FILTER_UNDO_REVISIONS, 'undoRevisions', 10, 2 );
68
  $this->_addFilter( Visualizer_Plugin::FILTER_HANDLE_REVISIONS, 'handleExistingRevisions', 10, 2 );
69
  $this->_addFilter( Visualizer_Plugin::FILTER_GET_CHART_DATA_AS, 'getDataAs', 10, 3 );
70
+ $this->_addAction( 'pre_get_posts', 'PreGetPosts' );
71
  register_shutdown_function( array($this, 'onShutdown') );
72
 
73
  }
793
  );
794
  }
795
 
796
+ /**
797
+ * Filter chart title if visualizer post type.
798
+ *
799
+ * @param object $query WP Query object.
800
+ * @return void
801
+ */
802
+ public function PreGetPosts( $query ) {
803
+ if ( ! $query->is_main_query() ) {
804
+ $post_type = $query->get( 'post_type' );
805
+ if ( 'visualizer' === $post_type ) {
806
+ $this->_addFilter( Visualizer_Plugin::FILTER_CHART_TITLE, 'filterChartTitle', 10, 2 );
807
+ }
808
+ }
809
+ }
810
+
811
  /**
812
  * Filter chart title.
813
  *
classes/Visualizer/Plugin.php CHANGED
@@ -28,7 +28,7 @@
28
  class Visualizer_Plugin {
29
 
30
  const NAME = 'visualizer';
31
- const VERSION = '3.7.11';
32
 
33
  // custom post types
34
  const CPT_VISUALIZER = 'visualizer';
28
  class Visualizer_Plugin {
29
 
30
  const NAME = 'visualizer';
31
+ const VERSION = '3.7.12';
32
 
33
  // custom post types
34
  const CPT_VISUALIZER = 'visualizer';
css/media.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- Version: 3.7.11
3
  */
4
  #visualizer-library-view {
5
  padding: 30px 10px 10px 30px;
1
  /*
2
+ Version: 3.7.12
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.11
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.12
7
  Author: Themeisle
8
  Author URI: http://themeisle.com
9
  Requires at least: 3.5
readme.txt CHANGED
@@ -163,6 +163,13 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
163
 
164
  == Changelog ==
165
 
 
 
 
 
 
 
 
166
  ##### [Version 3.7.11](https://github.com/Codeinwp/visualizer/compare/v3.7.10...v3.7.11) (2022-08-30)
167
 
168
  - Fix update axis baseline color [#925](https://github.com/Codeinwp/visualizer/issues/925)
163
 
164
  == Changelog ==
165
 
166
+ ##### [Version 3.7.12](https://github.com/Codeinwp/visualizer/compare/v3.7.11...v3.7.12) (2022-09-07)
167
+
168
+ - Fixed compatibility issue with some themes and plugins [#933](https://github.com/Codeinwp/visualizer/issues/933)
169
+
170
+
171
+
172
+
173
  ##### [Version 3.7.11](https://github.com/Codeinwp/visualizer/compare/v3.7.10...v3.7.11) (2022-08-30)
174
 
175
  - Fix update axis baseline color [#925](https://github.com/Codeinwp/visualizer/issues/925)
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 ComposerAutoloaderInit54dcf75d7668597472ab50f88d924e68::getLoader();
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
+ return ComposerAutoloaderInit029ba404fa8b9712b812578058163e47::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit54dcf75d7668597472ab50f88d924e68
6
  {
7
  private static $loader;
8
 
@@ -24,18 +24,18 @@ class ComposerAutoloaderInit54dcf75d7668597472ab50f88d924e68
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit54dcf75d7668597472ab50f88d924e68', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit54dcf75d7668597472ab50f88d924e68', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
- call_user_func(\Composer\Autoload\ComposerStaticInit54dcf75d7668597472ab50f88d924e68::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
36
- $includeFiles = \Composer\Autoload\ComposerStaticInit54dcf75d7668597472ab50f88d924e68::$files;
37
  foreach ($includeFiles as $fileIdentifier => $file) {
38
- composerRequire54dcf75d7668597472ab50f88d924e68($fileIdentifier, $file);
39
  }
40
 
41
  return $loader;
@@ -47,7 +47,7 @@ class ComposerAutoloaderInit54dcf75d7668597472ab50f88d924e68
47
  * @param string $file
48
  * @return void
49
  */
50
- function composerRequire54dcf75d7668597472ab50f88d924e68($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 ComposerAutoloaderInit029ba404fa8b9712b812578058163e47
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit029ba404fa8b9712b812578058163e47', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit029ba404fa8b9712b812578058163e47', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInit029ba404fa8b9712b812578058163e47::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
36
+ $includeFiles = \Composer\Autoload\ComposerStaticInit029ba404fa8b9712b812578058163e47::$files;
37
  foreach ($includeFiles as $fileIdentifier => $file) {
38
+ composerRequire029ba404fa8b9712b812578058163e47($fileIdentifier, $file);
39
  }
40
 
41
  return $loader;
47
  * @param string $file
48
  * @return void
49
  */
50
+ function composerRequire029ba404fa8b9712b812578058163e47($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 ComposerStaticInit54dcf75d7668597472ab50f88d924e68
8
  {
9
  public static $files = array (
10
  'abede361264e2ae69ec1eee813a101af' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/abs.php',
@@ -356,10 +356,10 @@ class ComposerStaticInit54dcf75d7668597472ab50f88d924e68
356
  public static function getInitializer(ClassLoader $loader)
357
  {
358
  return \Closure::bind(function () use ($loader) {
359
- $loader->prefixLengthsPsr4 = ComposerStaticInit54dcf75d7668597472ab50f88d924e68::$prefixLengthsPsr4;
360
- $loader->prefixDirsPsr4 = ComposerStaticInit54dcf75d7668597472ab50f88d924e68::$prefixDirsPsr4;
361
- $loader->prefixesPsr0 = ComposerStaticInit54dcf75d7668597472ab50f88d924e68::$prefixesPsr0;
362
- $loader->classMap = ComposerStaticInit54dcf75d7668597472ab50f88d924e68::$classMap;
363
 
364
  }, null, ClassLoader::class);
365
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit029ba404fa8b9712b812578058163e47
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 = ComposerStaticInit029ba404fa8b9712b812578058163e47::$prefixLengthsPsr4;
360
+ $loader->prefixDirsPsr4 = ComposerStaticInit029ba404fa8b9712b812578058163e47::$prefixDirsPsr4;
361
+ $loader->prefixesPsr0 = ComposerStaticInit029ba404fa8b9712b812578058163e47::$prefixesPsr0;
362
+ $loader->classMap = ComposerStaticInit029ba404fa8b9712b812578058163e47::$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.11',
5
- 'version' => '3.7.11.0',
6
- 'reference' => 'fe735985a1606eafa1d63a479a9642dc0a653d7c',
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.11',
24
- 'version' => '3.7.11.0',
25
- 'reference' => 'fe735985a1606eafa1d63a479a9642dc0a653d7c',
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.12',
5
+ 'version' => '3.7.12.0',
6
+ 'reference' => '1818a65d7c53849b5c3670bcd16966d7e09b9809',
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.12',
24
+ 'version' => '3.7.12.0',
25
+ 'reference' => '1818a65d7c53849b5c3670bcd16966d7e09b9809',
26
  'type' => 'wordpress-plugin',
27
  'install_path' => __DIR__ . '/../../',
28
  'aliases' => array(),