WordPress Charts and Graphs Lite - Version 2.1.2

Version Description

  • Fixed priority issue with wp_enqueue_media
  • Added latest version of sdk
Download this release

Release Info

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

Code changes from version 2.1.1 to 2.1.2

CHANGELOG.md CHANGED
@@ -1,7 +1,8 @@
1
 
2
- ### v2.1.1 - 2017-05-29
3
  **Changes:**
4
- - Capitalized the Pi in WordPress, to go along with the guidelines.
 
5
 
6
  ### v2.1.1 - 2017-05-16
7
  **Changes:**
1
 
2
+ ### v2.1.2 - 2017-05-30
3
  **Changes:**
4
+ - Fixed priority issue with wp_enqueue_media
5
+ - Added latest version of sdk
6
 
7
  ### v2.1.1 - 2017-05-16
8
  **Changes:**
classes/Visualizer/Module/Admin.php CHANGED
@@ -54,7 +54,7 @@ class Visualizer_Module_Admin extends Visualizer_Module {
54
  $this->_addAction( 'load-post.php', 'enqueueMediaScripts' );
55
  $this->_addAction( 'load-post-new.php', 'enqueueMediaScripts' );
56
  $this->_addAction( 'admin_footer', 'renderTempaltes' );
57
- $this->_addAction( 'admin_enqueue_scripts', 'enqueueLibraryScripts', null, 9 );
58
  $this->_addAction( 'admin_menu', 'registerAdminMenu' );
59
  $this->_addFilter( 'media_view_strings', 'setupMediaViewStrings' );
60
  $this->_addFilter( 'plugin_action_links', 'getPluginActionLinks', 10, 2 );
54
  $this->_addAction( 'load-post.php', 'enqueueMediaScripts' );
55
  $this->_addAction( 'load-post-new.php', 'enqueueMediaScripts' );
56
  $this->_addAction( 'admin_footer', 'renderTempaltes' );
57
+ $this->_addAction( 'admin_enqueue_scripts', 'enqueueLibraryScripts', null, 8 );
58
  $this->_addAction( 'admin_menu', 'registerAdminMenu' );
59
  $this->_addFilter( 'media_view_strings', 'setupMediaViewStrings' );
60
  $this->_addFilter( 'plugin_action_links', 'getPluginActionLinks', 10, 2 );
classes/Visualizer/Plugin.php CHANGED
@@ -28,7 +28,7 @@
28
  class Visualizer_Plugin {
29
 
30
  const NAME = 'visualizer';
31
- const VERSION = '2.1.1';
32
 
33
  // custom post types
34
  const CPT_VISUALIZER = 'visualizer';
28
  class Visualizer_Plugin {
29
 
30
  const NAME = 'visualizer';
31
+ const VERSION = '2.1.2';
32
 
33
  // custom post types
34
  const CPT_VISUALIZER = 'visualizer';
css/media.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- Version: 2.1.1
3
  */
4
  #visualizer-library-view {
5
  padding: 30px 10px 10px 30px;
1
  /*
2
+ Version: 2.1.2
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: 2.1.1
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: 2.1.2
8
  Author: Themeisle
9
  Author URI: http://themeisle.com
10
  License: GPL v2.0 or later
languages/visualizer.pot CHANGED
@@ -2,9 +2,9 @@
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 2.1.0\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/visualizer/issues\n"
7
- "POT-Creation-Date: 2017-05-16 06:15:21+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -1500,6 +1500,20 @@ msgstr ""
1500
  msgid "Insert"
1501
  msgstr ""
1502
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1503
  #. Plugin Name of the plugin/theme
1504
  msgid "Visualizer: Charts and Graphs Lite"
1505
  msgstr ""
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 2.1.1\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/visualizer/issues\n"
7
+ "POT-Creation-Date: 2017-05-26 11:03:14+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
1500
  msgid "Insert"
1501
  msgstr ""
1502
 
1503
+ #: vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php:453
1504
+ msgid ""
1505
+ "Updating this theme will lose any customizations you have made. Cancel to "
1506
+ "stop, OK to update."
1507
+ msgstr ""
1508
+
1509
+ #: vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php:200
1510
+ msgid "Popular Plugin"
1511
+ msgstr ""
1512
+
1513
+ #: vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php:201
1514
+ msgid "Install"
1515
+ msgstr ""
1516
+
1517
  #. Plugin Name of the plugin/theme
1518
  msgid "Visualizer: Charts and Graphs Lite"
1519
  msgstr ""
readme.txt CHANGED
@@ -119,6 +119,10 @@ http://docs.themeisle.com/article/610-how-can-i-edit-the-data-manually
119
 
120
  == Changelog ==
121
 
 
 
 
 
122
  = 2.1.1 =
123
  * Fixed charts bliking on some themes.
124
 
119
 
120
  == Changelog ==
121
 
122
+ = 2.1.2 =
123
+ * Fixed priority issue with wp_enqueue_media
124
+ * Added latest version of sdk
125
+
126
  = 2.1.1 =
127
  * Fixed charts bliking on some themes.
128
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit9f56ad3c43f28a8cd68767f9c89fbcdc::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit2b532b899cc7e910887d8f5952616a01::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit0e38fe72414a2baf5893448767dd9405::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit8bcc3ca6cef0c8f1c54aa7a6204d2b15::getLoader();
vendor/codeinwp/themeisle-sdk/README.md DELETED
@@ -1,2 +0,0 @@
1
- # themeisle-sdk
2
- ThemeIsle SDK library
 
 
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-deactivate.php CHANGED
@@ -127,7 +127,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
127
  display: block;
128
  }
129
 
130
- body.plugins-php .<?php echo $key; ?>-containe #TB_window.thickbox-loading:before {
131
  background: none !important;
132
  }
133
 
@@ -230,7 +230,8 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
230
  <script type="text/javascript" id="ti-deactivate-js">
231
  (function ($) {
232
  $(document).ready(function () {
233
- var href = $('tr[data-slug="<?php echo $this->product->get_slug();?>"] span.deactivate a').attr('href');
 
234
  $('#<?php echo $key;?>ti-deactivate-no').on('click', function (e) {
235
  e.preventDefault();
236
  e.stopPropagation();
@@ -273,7 +274,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
273
  });
274
  $('tr[data-plugin^="<?php echo $this->product->get_slug();?>/"] span.deactivate a').attr('name', '<?php echo esc_html( $heading ); ?>').attr('href', '<?php echo $src;?>').addClass('thickbox');
275
  var thicbox_timer;
276
- $('tr[data-slug="<?php echo $this->product->get_slug();?>"] span.deactivate a').on('click', function () {
277
  tiBindThickbox();
278
  });
279
 
@@ -283,6 +284,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
283
  $("body").trigger('thickbox:iframe:loaded');
284
  $("#TB_window").addClass("<?php echo $key; ?>-container");
285
  clearTimeout(thicbox_timer);
 
286
  } else {
287
  tiBindThickbox();
288
  }
127
  display: block;
128
  }
129
 
130
+ body.plugins-php .<?php echo $key; ?>-container #TB_window.thickbox-loading:before {
131
  background: none !important;
132
  }
133
 
230
  <script type="text/javascript" id="ti-deactivate-js">
231
  (function ($) {
232
  $(document).ready(function () {
233
+
234
+ var href = $('tr[data-plugin^="<?php echo $this->product->get_slug();?>/"] span.deactivate a').attr('href');
235
  $('#<?php echo $key;?>ti-deactivate-no').on('click', function (e) {
236
  e.preventDefault();
237
  e.stopPropagation();
274
  });
275
  $('tr[data-plugin^="<?php echo $this->product->get_slug();?>/"] span.deactivate a').attr('name', '<?php echo esc_html( $heading ); ?>').attr('href', '<?php echo $src;?>').addClass('thickbox');
276
  var thicbox_timer;
277
+ $('tr[data-plugin^="<?php echo $this->product->get_slug();?>/"] span.deactivate a').on('click', function () {
278
  tiBindThickbox();
279
  });
280
 
284
  $("body").trigger('thickbox:iframe:loaded');
285
  $("#TB_window").addClass("<?php echo $key; ?>-container");
286
  clearTimeout(thicbox_timer);
287
+ $('body').unbind('thickbox:removed');
288
  } else {
289
  tiBindThickbox();
290
  }
vendor/codeinwp/themeisle-sdk/phpcs.xml DELETED
@@ -1,34 +0,0 @@
1
- <?xml version="1.0"?>
2
- <ruleset name="Themeisle">
3
- <description>Themeisle rules for PHP_CodeSnifferr</description>
4
-
5
- <file>.</file>
6
-
7
- <exclude-pattern>node_modules/*</exclude-pattern>
8
- <exclude-pattern>vendor/*</exclude-pattern>
9
- <exclude-pattern>lib/*</exclude-pattern>
10
- <exclude-pattern>old/*</exclude-pattern>
11
- <exclude-pattern>*.min.js</exclude-pattern>
12
- <exclude-pattern>*.min.css</exclude-pattern>
13
- <rule ref="WordPress-Core">
14
- <exclude name="Squiz.Commenting.FileComment.SpacingAfterComment"/>
15
- <exclude name="Squiz.Commenting.FunctionComment.MissingParamTag"/>
16
- <exclude name="Squiz.Commenting.InlineComment.InvalidEndChar"/>
17
- <exclude name="Generic.Commenting.DocComment.MissingShort"/>
18
- <exclude name="Squiz.Commenting.InlineComment.NotCapital"/>
19
- <exclude name="Squiz.Commenting.LongConditionClosingComment.Missing"/>
20
- <exclude name="Squiz.Commenting.LongConditionClosingComment.Invalid"/>
21
- <exclude name="WordPress.NamingConvention.ValidVariableName.StringNotSnakeCase"/>
22
- <exclude name="WordPress.NamingConventions.ValidVariableName.NotSnakeCase"/>
23
- <exclude name="WordPress.PHP.YodaConditions.NotYoda"/>
24
- <exclude name="Squiz.PHP.DisallowMultipleAssignments" />
25
- </rule>
26
- <rule ref="WordPress-Docs">
27
-
28
- </rule>
29
-
30
- <rule ref="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing">
31
- <severity>0</severity>
32
- </rule>
33
-
34
- </ruleset>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit9f56ad3c43f28a8cd68767f9c89fbcdc
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit9f56ad3c43f28a8cd68767f9c89fbcdc
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit9f56ad3c43f28a8cd68767f9c89fbcdc', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit9f56ad3c43f28a8cd68767f9c89fbcdc', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit2b532b899cc7e910887d8f5952616a01
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit2b532b899cc7e910887d8f5952616a01', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit2b532b899cc7e910887d8f5952616a01', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInit0e38fe72414a2baf5893448767dd9405 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit0e38fe72414a2baf5893448767dd9405 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit0e38fe72414a2baf5893448767dd9405', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit0e38fe72414a2baf5893448767dd9405', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInit8bcc3ca6cef0c8f1c54aa7a6204d2b15 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit8bcc3ca6cef0c8f1c54aa7a6204d2b15', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit8bcc3ca6cef0c8f1c54aa7a6204d2b15', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
vendor/composer/installed.json CHANGED
@@ -39,15 +39,15 @@
39
  "source": {
40
  "type": "git",
41
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
42
- "reference": "eac36fdb955f45979b73573576976b18f6ef2043"
43
  },
44
  "dist": {
45
  "type": "zip",
46
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/eac36fdb955f45979b73573576976b18f6ef2043",
47
- "reference": "eac36fdb955f45979b73573576976b18f6ef2043",
48
  "shasum": ""
49
  },
50
- "time": "2017-05-29 12:14:04",
51
  "type": "library",
52
  "installation-source": "dist",
53
  "autoload": {
39
  "source": {
40
  "type": "git",
41
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
42
+ "reference": "7817845a4f1ffea73264861d67094588bf095400"
43
  },
44
  "dist": {
45
  "type": "zip",
46
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/7817845a4f1ffea73264861d67094588bf095400",
47
+ "reference": "7817845a4f1ffea73264861d67094588bf095400",
48
  "shasum": ""
49
  },
50
+ "time": "2017-05-30 09:47:46",
51
  "type": "library",
52
  "installation-source": "dist",
53
  "autoload": {