WordPress Charts and Graphs Lite - Version 3.0.7

Version Description

  • 2018-03-26
Download this release

Release Info

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

Code changes from version 3.0.6 to 3.0.7

CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
 
 
 
 
 
 
 
 
2
  ### v3.0.6 - 2018-02-27
3
  **Changes:**
4
  * Fix UTF-8 support while saving the data.
1
 
2
+ ### v3.0.7 - 2018-03-26
3
+ **Changes:**
4
+ * Adds insert button in chart library.
5
+ * Remove frontend assets where they are not needed.
6
+ * Improve non-English charts compatibility.
7
+ * Adds a filter to change charts locale.
8
+
9
  ### v3.0.6 - 2018-02-27
10
  **Changes:**
11
  * Fix UTF-8 support while saving the data.
classes/Visualizer/Module.php CHANGED
@@ -323,4 +323,20 @@ class Visualizer_Module {
323
  );
324
  }
325
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
326
  }
323
  );
324
  }
325
 
326
+ /**
327
+ * Returns the language of the locale.
328
+ *
329
+ * @access protected
330
+ */
331
+ protected function get_language() {
332
+ $locale = get_locale();
333
+ if ( empty( $locale ) ) {
334
+ return '';
335
+ }
336
+ $array = explode( '_', $locale );
337
+ if ( count( $array ) < 2 ) {
338
+ return '';
339
+ }
340
+ return reset( $array );
341
+ }
342
  }
classes/Visualizer/Module/Admin.php CHANGED
@@ -157,6 +157,13 @@ class Visualizer_Module_Admin extends Visualizer_Module {
157
  wp_enqueue_script( 'visualizer-media-collection', VISUALIZER_ABSURL . 'js/media/collection.js', array( 'visualizer-media-model' ), Visualizer_Plugin::VERSION, true );
158
  wp_enqueue_script( 'visualizer-media-controller', VISUALIZER_ABSURL . 'js/media/controller.js', array( 'visualizer-media-collection' ), Visualizer_Plugin::VERSION, true );
159
  wp_enqueue_script( 'visualizer-media-view', VISUALIZER_ABSURL . 'js/media/view.js', array( 'visualizer-media-controller' ), Visualizer_Plugin::VERSION, true );
 
 
 
 
 
 
 
160
  wp_enqueue_script( 'visualizer-media-toolbar', VISUALIZER_ABSURL . 'js/media/toolbar.js', array( 'visualizer-media-view' ), Visualizer_Plugin::VERSION, true );
161
  wp_enqueue_script( 'visualizer-media', VISUALIZER_ABSURL . 'js/media.js', array( 'visualizer-media-toolbar' ), Visualizer_Plugin::VERSION, true );
162
  }
@@ -453,6 +460,8 @@ class Visualizer_Module_Admin extends Visualizer_Module {
453
  $ajaxurl = admin_url( 'admin-ajax.php' );
454
  wp_localize_script(
455
  'visualizer-library', 'visualizer', array(
 
 
456
  'charts' => $charts,
457
  'urls' => array(
458
  'base' => add_query_arg( 'vpage', false ),
157
  wp_enqueue_script( 'visualizer-media-collection', VISUALIZER_ABSURL . 'js/media/collection.js', array( 'visualizer-media-model' ), Visualizer_Plugin::VERSION, true );
158
  wp_enqueue_script( 'visualizer-media-controller', VISUALIZER_ABSURL . 'js/media/controller.js', array( 'visualizer-media-collection' ), Visualizer_Plugin::VERSION, true );
159
  wp_enqueue_script( 'visualizer-media-view', VISUALIZER_ABSURL . 'js/media/view.js', array( 'visualizer-media-controller' ), Visualizer_Plugin::VERSION, true );
160
+ wp_localize_script(
161
+ 'visualizer-media-view', 'visualizer', array(
162
+ 'i10n' => array(
163
+ 'insert' => __( 'Insert', 'visualizer' ),
164
+ ),
165
+ )
166
+ );
167
  wp_enqueue_script( 'visualizer-media-toolbar', VISUALIZER_ABSURL . 'js/media/toolbar.js', array( 'visualizer-media-view' ), Visualizer_Plugin::VERSION, true );
168
  wp_enqueue_script( 'visualizer-media', VISUALIZER_ABSURL . 'js/media.js', array( 'visualizer-media-toolbar' ), Visualizer_Plugin::VERSION, true );
169
  }
460
  $ajaxurl = admin_url( 'admin-ajax.php' );
461
  wp_localize_script(
462
  'visualizer-library', 'visualizer', array(
463
+ 'language' => $this->get_language(),
464
+ 'map_api_key' => get_option( 'visualizer-map-api-key' ),
465
  'charts' => $charts,
466
  'urls' => array(
467
  'base' => add_query_arg( 'vpage', false ),
classes/Visualizer/Module/Chart.php CHANGED
@@ -336,6 +336,7 @@ class Visualizer_Module_Chart extends Visualizer_Module {
336
  'charts' => array(
337
  'canvas' => $data,
338
  ),
 
339
  'map_api_key' => get_option( 'visualizer-map-api-key' ),
340
  'ajax' => array(
341
  'url' => admin_url( 'admin-ajax.php' ),
336
  'charts' => array(
337
  'canvas' => $data,
338
  ),
339
+ 'language' => $this->get_language(),
340
  'map_api_key' => get_option( 'visualizer-map-api-key' ),
341
  'ajax' => array(
342
  'url' => admin_url( 'admin-ajax.php' ),
classes/Visualizer/Module/Frontend.php CHANGED
@@ -54,6 +54,7 @@ class Visualizer_Module_Frontend extends Visualizer_Module {
54
  parent::__construct( $plugin );
55
 
56
  $this->_addAction( 'wp_enqueue_scripts', 'enqueueScripts' );
 
57
  $this->_addShortcode( 'visualizer', 'renderChart' );
58
 
59
  // add do_shortocde hook for widget_text filter
@@ -69,6 +70,14 @@ class Visualizer_Module_Frontend extends Visualizer_Module {
69
  add_action( 'rest_api_init', array( $this, 'endpoint_register' ) );
70
  }
71
 
 
 
 
 
 
 
 
 
72
  /**
73
  * Registers the endpoints
74
  */
@@ -150,7 +159,6 @@ class Visualizer_Module_Frontend extends Visualizer_Module {
150
  wp_register_script( 'visualizer-google-jsapi-old', '//www.google.com/jsapi', array( 'visualizer-google-jsapi-new' ), null, true );
151
  wp_register_script( 'visualizer-render', VISUALIZER_ABSURL . 'js/render.js', array( 'visualizer-google-jsapi-old', 'jquery' ), Visualizer_Plugin::VERSION, true );
152
  wp_register_script( 'visualizer-clipboardjs', VISUALIZER_ABSURL . 'js/lib/clipboardjs/clipboard.min.js', array( 'jquery' ), Visualizer_Plugin::VERSION, true );
153
- wp_enqueue_script( 'visualizer-clipboardjs' );
154
  wp_register_style( 'visualizer-front', VISUALIZER_ABSURL . 'css/front.css', array(), Visualizer_Plugin::VERSION );
155
  do_action( 'visualizer_pro_frontend_load_resources' );
156
  }
@@ -239,6 +247,7 @@ class Visualizer_Module_Frontend extends Visualizer_Module {
239
  wp_localize_script(
240
  'visualizer-render', 'visualizer', array(
241
  'charts' => $this->_charts,
 
242
  'map_api_key' => get_option( 'visualizer-map-api-key' ),
243
  'rest_url' => version_compare( $wp_version, '4.7.0', '>=' ) ? rest_url( 'visualizer/v' . VISUALIZER_REST_VERSION . '/action/#id#/#type#/' ) : '',
244
  'i10n' => array(
@@ -267,6 +276,7 @@ class Visualizer_Module_Frontend extends Visualizer_Module {
267
  if ( 'copy' === $key ) {
268
  $copy = $this->_getDataAs( $atts['id'], 'csv' );
269
  $actions_div .= ' data-clipboard-text="' . esc_attr( $copy['csv'] ) . '"';
 
270
  }
271
 
272
  $actions_div .= apply_filters( 'visualizer_action_attributes', '', $key, $atts['id'] );
54
  parent::__construct( $plugin );
55
 
56
  $this->_addAction( 'wp_enqueue_scripts', 'enqueueScripts' );
57
+ $this->_addFilter( 'visualizer_get_language', 'getLanguage' );
58
  $this->_addShortcode( 'visualizer', 'renderChart' );
59
 
60
  // add do_shortocde hook for widget_text filter
70
  add_action( 'rest_api_init', array( $this, 'endpoint_register' ) );
71
  }
72
 
73
+ /**
74
+ * Returns the language/locale.
75
+ */
76
+ function getLanguage( $dummy, $only_language ) {
77
+ return $this->get_language();
78
+ }
79
+
80
+
81
  /**
82
  * Registers the endpoints
83
  */
159
  wp_register_script( 'visualizer-google-jsapi-old', '//www.google.com/jsapi', array( 'visualizer-google-jsapi-new' ), null, true );
160
  wp_register_script( 'visualizer-render', VISUALIZER_ABSURL . 'js/render.js', array( 'visualizer-google-jsapi-old', 'jquery' ), Visualizer_Plugin::VERSION, true );
161
  wp_register_script( 'visualizer-clipboardjs', VISUALIZER_ABSURL . 'js/lib/clipboardjs/clipboard.min.js', array( 'jquery' ), Visualizer_Plugin::VERSION, true );
 
162
  wp_register_style( 'visualizer-front', VISUALIZER_ABSURL . 'css/front.css', array(), Visualizer_Plugin::VERSION );
163
  do_action( 'visualizer_pro_frontend_load_resources' );
164
  }
247
  wp_localize_script(
248
  'visualizer-render', 'visualizer', array(
249
  'charts' => $this->_charts,
250
+ 'language' => $this->get_language(),
251
  'map_api_key' => get_option( 'visualizer-map-api-key' ),
252
  'rest_url' => version_compare( $wp_version, '4.7.0', '>=' ) ? rest_url( 'visualizer/v' . VISUALIZER_REST_VERSION . '/action/#id#/#type#/' ) : '',
253
  'i10n' => array(
276
  if ( 'copy' === $key ) {
277
  $copy = $this->_getDataAs( $atts['id'], 'csv' );
278
  $actions_div .= ' data-clipboard-text="' . esc_attr( $copy['csv'] ) . '"';
279
+ wp_enqueue_script( 'visualizer-clipboardjs' );
280
  }
281
 
282
  $actions_div .= apply_filters( 'visualizer_action_attributes', '', $key, $atts['id'] );
classes/Visualizer/Plugin.php CHANGED
@@ -28,7 +28,7 @@
28
  class Visualizer_Plugin {
29
 
30
  const NAME = 'visualizer';
31
- const VERSION = '3.0.6';
32
 
33
  // custom post types
34
  const CPT_VISUALIZER = 'visualizer';
28
  class Visualizer_Plugin {
29
 
30
  const NAME = 'visualizer';
31
+ const VERSION = '3.0.7';
32
 
33
  // custom post types
34
  const CPT_VISUALIZER = 'visualizer';
classes/Visualizer/Render/Templates.php CHANGED
@@ -64,10 +64,7 @@ class Visualizer_Render_Templates extends Visualizer_Render {
64
  * @access protected
65
  */
66
  protected function _renderLibraryChart() {
67
- echo '<div class="visualizer-library-chart-footer visualizer-clearfix">';
68
- echo '<a class="visualizer-library-chart-action visualizer-library-chart-delete" href="javascript:;" title="', esc_attr__( 'Delete', 'visualizer' ), '"></a>';
69
- echo '<a class="visualizer-library-chart-action visualizer-library-chart-insert" href="javascript:;" title="', esc_attr__( 'Insert', 'visualizer' ), '"></a>';
70
-
71
  echo '<span class="visualizer-library-chart-shortcode" title="', esc_attr__( 'Click to select', 'visualizer' ), '">&nbsp;[visualizer id=&quot;{{data.id}}&quot;]&nbsp;</span>';
72
  echo '</div>';
73
  }
64
  * @access protected
65
  */
66
  protected function _renderLibraryChart() {
67
+ echo '<div class="visualizer-library-chart-footer visualizer-clearfix visualizer-library-media-popup">';
 
 
 
68
  echo '<span class="visualizer-library-chart-shortcode" title="', esc_attr__( 'Click to select', 'visualizer' ), '">&nbsp;[visualizer id=&quot;{{data.id}}&quot;]&nbsp;</span>';
69
  echo '</div>';
70
  }
classes/Visualizer/Source.php CHANGED
@@ -222,7 +222,10 @@ abstract class Visualizer_Source {
222
  }
223
  break;
224
  case 'string':
225
- $data[ $i ] = utf8_encode( $data[ $i ] );
 
 
 
226
  break;
227
  }
228
  }
222
  }
223
  break;
224
  case 'string':
225
+ // condition introduced for Issue with non-English text #240 where languages such as Hebrew get messed up.
226
+ if ( function_exists( 'mb_detect_encoding' ) && mb_detect_encoding( $data[ $i ] ) !== 'UTF-8' ) {
227
+ $data[ $i ] = utf8_encode( $data[ $i ] );
228
+ }
229
  break;
230
  }
231
  }
css/media.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- Version: 3.0.6
3
  */
4
  #visualizer-library-view {
5
  padding: 30px 10px 10px 30px;
@@ -171,4 +171,35 @@ i.mce-i-visualizer-icon:before {
171
  -webkit-font-smoothing: antialiased;
172
  font: 400 20px/1 dashicons;
173
  vertical-align: top;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  }
1
  /*
2
+ Version: 3.0.7
3
  */
4
  #visualizer-library-view {
5
  padding: 30px 10px 10px 30px;
171
  -webkit-font-smoothing: antialiased;
172
  font: 400 20px/1 dashicons;
173
  vertical-align: top;
174
+ }
175
+
176
+ .visualizer-chart-bg, .visualizer-chart-insert-bg {
177
+ display: none;
178
+ }
179
+
180
+ .visualizer-library-chart:hover .visualizer-chart-bg {
181
+ display: block;
182
+ position: absolute;
183
+ background: #000000;
184
+ width: 100%;
185
+ height: 100%;
186
+ top: 0;
187
+ left: 0;
188
+ opacity: 0.3;
189
+ }
190
+
191
+ .visualizer-library-chart:hover .visualizer-chart-bg ~ .visualizer-chart-insert-bg {
192
+ display: block;
193
+ position: absolute;
194
+ top: 0;
195
+ left: 0;
196
+ width: 100%;
197
+ height: 100%;
198
+ z-index: 99999;
199
+ }
200
+
201
+ button.visualizer-library-chart-insert{
202
+ position: absolute;
203
+ top: 45%;
204
+ left: 45%;
205
  }
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: 3.0.6
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: 3.0.7
8
  Author: Themeisle
9
  Author URI: http://themeisle.com
10
  License: GPL v2.0 or later
js/media/view.js CHANGED
@@ -2,7 +2,7 @@
2
  /* global google */
3
  /* global visualizer */
4
  /* global showNotice */
5
- (function($, wpm) {
6
  var libraryWidth, libraryHeight, wpmv, wpmV, wpmvv, wpmvvl, wpmvvb, l10n;
7
 
8
  wpmv = wpm.view;
@@ -269,6 +269,18 @@
269
  }
270
 
271
  self.renderCollection();
 
 
 
 
 
 
 
 
 
 
 
 
272
  content.unlock();
273
  }
274
  }
@@ -464,7 +476,7 @@
464
  this.controller.trigger('visualizer:library:page', $(e.target).data('page'));
465
  }
466
  });
467
- })(jQuery, wp.media);
468
 
469
  (function($) {
470
  $.fn.lock = function() {
2
  /* global google */
3
  /* global visualizer */
4
  /* global showNotice */
5
+ (function($, wpm, visualizer) {
6
  var libraryWidth, libraryHeight, wpmv, wpmV, wpmvv, wpmvvl, wpmvvb, l10n;
7
 
8
  wpmv = wpm.view;
269
  }
270
 
271
  self.renderCollection();
272
+ $('.visualizer-library-chart').css('position', 'relative')
273
+ .append($(
274
+ // jshint ignore:start
275
+ '<div class="visualizer-chart-bg"></div>'
276
+ + '<div class="visualizer-chart-insert-bg">'
277
+ + '<button class="button button-primary visualizer-library-chart-insert">' + visualizer.i10n.insert + '</button>'
278
+ + '</div>'
279
+ // jshint ignore:end
280
+ ))
281
+ .on('mouseover', function(){
282
+ $(this).addClass('hover');
283
+ });
284
  content.unlock();
285
  }
286
  }
476
  this.controller.trigger('visualizer:library:page', $(e.target).data('page'));
477
  }
478
  });
479
+ })(jQuery, wp.media, visualizer);
480
 
481
  (function($) {
482
  $.fn.lock = function() {
js/render.js CHANGED
@@ -222,7 +222,7 @@
222
  }
223
  };
224
 
225
- g.charts.load("current", {packages: ["corechart", "geochart", "gauge", "table", "timeline"], mapsApiKey: v.map_api_key});
226
  g.charts.setOnLoadCallback(function() {
227
  gv = g.visualization;
228
  v.render();
222
  }
223
  };
224
 
225
+ g.charts.load("current", {packages: ["corechart", "geochart", "gauge", "table", "timeline"], mapsApiKey: v.map_api_key, 'language' : v.language});
226
  g.charts.setOnLoadCallback(function() {
227
  gv = g.visualization;
228
  v.render();
readme.md CHANGED
@@ -144,6 +144,14 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
144
  5. Charts library
145
 
146
  ## Changelog ##
 
 
 
 
 
 
 
 
147
  ### 3.0.6 - 2018-02-27 ###
148
 
149
  * Fix UTF-8 support while saving the data.
144
  5. Charts library
145
 
146
  ## Changelog ##
147
+ ### 3.0.7 - 2018-03-26 ###
148
+
149
+ * Adds insert button in chart library.
150
+ * Remove frontend assets where they are not needed.
151
+ * Improve non-English charts compatibility.
152
+ * Adds a filter to change charts locale.
153
+
154
+
155
  ### 3.0.6 - 2018-02-27 ###
156
 
157
  * Fix UTF-8 support while saving the data.
readme.txt CHANGED
@@ -144,6 +144,14 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
144
  5. Charts library
145
 
146
  == Changelog ==
 
 
 
 
 
 
 
 
147
  = 3.0.6 - 2018-02-27 =
148
 
149
  * Fix UTF-8 support while saving the data.
144
  5. Charts library
145
 
146
  == Changelog ==
147
+ = 3.0.7 - 2018-03-26 =
148
+
149
+ * Adds insert button in chart library.
150
+ * Remove frontend assets where they are not needed.
151
+ * Improve non-English charts compatibility.
152
+ * Adds a filter to change charts locale.
153
+
154
+
155
  = 3.0.6 - 2018-02-27 =
156
 
157
  * Fix UTF-8 support while saving the data.
themeisle-hash.json CHANGED
@@ -1 +1 @@
1
- {"index.php":"40387cfe04e5931a1dc92531bf7d4d6e"}
1
+ {"index.php":"87f5029281c969a4b6d0869f7594a04a"}
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInita3e79a669fb08c2815f31e71dae09bf3::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit180b25c8cbb6e9bfbb510080413f14ee::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit9b330336959bcbd0ec1425bc228e8f60::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit80180cf529cca34ef51131272161f120::getLoader();
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-product.php CHANGED
@@ -61,6 +61,10 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
61
  * @var array $allowed_authors The allowed authors.
62
  */
63
  private $allowed_authors = array( 'proteusthemes.com', 'anarieldesign.com', 'prothemedesign.com', 'cssigniter.com' );
 
 
 
 
64
  /**
65
  * @var bool $requires_license Either user needs to activate it with license.
66
  */
@@ -168,6 +172,9 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
168
  if ( strpos( $this->author_url, $author ) !== false ) {
169
  return true;
170
  }
 
 
 
171
  }
172
 
173
  return false;
61
  * @var array $allowed_authors The allowed authors.
62
  */
63
  private $allowed_authors = array( 'proteusthemes.com', 'anarieldesign.com', 'prothemedesign.com', 'cssigniter.com' );
64
+ /**
65
+ * @var array $allowed_external_products The allowed external_products.
66
+ */
67
+ private $allowed_products = array( 'zermatt', 'neto', 'olsen', 'benson', 'romero', 'carmack', 'puzzle', 'broadsheet', 'girlywp', 'veggie', 'zeko', 'maishawp', 'didi', 'liber', 'medicpress-pt', 'adrenaline-pt', 'consultpress-pt', 'legalpress-pt', 'gympress-pt', 'readable-pt', 'bolts-pt' );
68
  /**
69
  * @var bool $requires_license Either user needs to activate it with license.
70
  */
172
  if ( strpos( $this->author_url, $author ) !== false ) {
173
  return true;
174
  }
175
+ if ( in_array( $this->get_slug(), $this->allowed_products ) ) {
176
+ return true;
177
+ }
178
  }
179
 
180
  return false;
vendor/codeinwp/themeisle-sdk/load.php CHANGED
@@ -11,7 +11,7 @@
11
  */
12
 
13
  // Current SDK version and path.
14
- $themeisle_sdk_version = '2.1.1';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
11
  */
12
 
13
  // Current SDK version and path.
14
+ $themeisle_sdk_version = '2.1.2';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInita3e79a669fb08c2815f31e71dae09bf3
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInita3e79a669fb08c2815f31e71dae09bf3
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInita3e79a669fb08c2815f31e71dae09bf3', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInita3e79a669fb08c2815f31e71dae09bf3', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInita3e79a669fb08c2815f31e71dae09bf3
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequirea3e79a669fb08c2815f31e71dae09bf3($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequirea3e79a669fb08c2815f31e71dae09bf3($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit180b25c8cbb6e9bfbb510080413f14ee
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit180b25c8cbb6e9bfbb510080413f14ee', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit180b25c8cbb6e9bfbb510080413f14ee', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire180b25c8cbb6e9bfbb510080413f14ee($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire180b25c8cbb6e9bfbb510080413f14ee($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
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 ComposerAutoloaderInit9b330336959bcbd0ec1425bc228e8f60 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit9b330336959bcbd0ec1425bc228e8f60 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit9b330336959bcbd0ec1425bc228e8f60', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit9b330336959bcbd0ec1425bc228e8f60', '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 ComposerAutoloaderInit80180cf529cca34ef51131272161f120 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit80180cf529cca34ef51131272161f120', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit80180cf529cca34ef51131272161f120', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
vendor/composer/installed.json CHANGED
@@ -6,15 +6,15 @@
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
9
- "reference": "9d866559c6090f0e7e70fe3e5a4be8672461a11a"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/9d866559c6090f0e7e70fe3e5a4be8672461a11a",
14
- "reference": "9d866559c6090f0e7e70fe3e5a4be8672461a11a",
15
  "shasum": ""
16
  },
17
- "time": "2018-02-16 16:31:29",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
9
+ "reference": "18bcad4b82796f4b6996dea42832ce3518924f25"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/18bcad4b82796f4b6996dea42832ce3518924f25",
14
+ "reference": "18bcad4b82796f4b6996dea42832ce3518924f25",
15
  "shasum": ""
16
  },
17
+ "time": "2018-03-19 21:12:50",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {