WordPress Charts and Graphs Lite - Version 3.0.9

Version Description

  • 2018-07-12
Download this release

Release Info

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

Code changes from version 3.0.8 to 3.0.9

CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
 
 
 
 
 
 
 
2
  ### v3.0.8 - 2018-06-27
3
  **Changes:**
4
  * Added revision support for the chart post type
1
 
2
+ ### v3.0.9 - 2018-07-12
3
+ **Changes:**
4
+ * New chart title option for the back-end of the charts that don't allow a title on the front-end
5
+ * Store the png images of the charts in a global array that can be used in JS
6
+ * Added options for charts animations
7
+
8
  ### v3.0.8 - 2018-06-27
9
  **Changes:**
10
  * Added revision support for the chart post type
classes/Visualizer/Plugin.php CHANGED
@@ -28,7 +28,7 @@
28
  class Visualizer_Plugin {
29
 
30
  const NAME = 'visualizer';
31
- const VERSION = '3.0.8';
32
 
33
  // custom post types
34
  const CPT_VISUALIZER = 'visualizer';
28
  class Visualizer_Plugin {
29
 
30
  const NAME = 'visualizer';
31
+ const VERSION = '3.0.9';
32
 
33
  // custom post types
34
  const CPT_VISUALIZER = 'visualizer';
classes/Visualizer/Render/Sidebar.php CHANGED
@@ -83,6 +83,14 @@ abstract class Visualizer_Render_Sidebar extends Visualizer_Render {
83
  */
84
  protected $_alignments;
85
 
 
 
 
 
 
 
 
 
86
  /**
87
  * Constructor.
88
  *
@@ -311,9 +319,58 @@ abstract class Visualizer_Render_Sidebar extends Visualizer_Render {
311
  self::_renderSectionStart( esc_html__( 'Tooltip', 'visualizer' ), false );
312
  $this->_renderTooltipSettigns();
313
  self::_renderSectionEnd();
 
 
 
314
  self::_renderGroupEnd();
315
  }
316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
317
  /**
318
  * Renders tooltip settings section.
319
  *
83
  */
84
  protected $_alignments;
85
 
86
+ /**
87
+ * Whether this chart supports animation or not.
88
+ *
89
+ * @access protected
90
+ * @var bool
91
+ */
92
+ protected $_supportsAnimation = true;
93
+
94
  /**
95
  * Constructor.
96
  *
319
  self::_renderSectionStart( esc_html__( 'Tooltip', 'visualizer' ), false );
320
  $this->_renderTooltipSettigns();
321
  self::_renderSectionEnd();
322
+
323
+ $this->_renderAnimationSettings();
324
+
325
  self::_renderGroupEnd();
326
  }
327
 
328
+ /**
329
+ * Renders animation settings section.
330
+ *
331
+ * @access protected
332
+ */
333
+ protected function _renderAnimationSettings() {
334
+ if ( ! $this->_supportsAnimation ) {
335
+ return;
336
+ }
337
+
338
+ self::_renderSectionStart( esc_html__( 'Animation', 'visualizer' ), false );
339
+
340
+ self::_renderCheckboxItem(
341
+ esc_html__( 'Animate on startup', 'visualizer' ),
342
+ 'animation[startup]',
343
+ $this->animation['startup'],
344
+ true,
345
+ esc_html__( 'Determines if the chart will animate on the initial draw.', 'visualizer' )
346
+ );
347
+
348
+ self::_renderTextItem(
349
+ esc_html__( 'Duration', 'visualizer' ),
350
+ 'animation[duration]',
351
+ isset( $this->animation['duration'] ) ? $this->animation['duration'] : 0,
352
+ esc_html__( 'The duration of the animation, in milliseconds', 'visualizer' ),
353
+ 0,
354
+ 'number'
355
+ );
356
+
357
+ self::_renderSelectItem(
358
+ esc_html__( 'Easing', 'visualizer' ),
359
+ 'animation[easing]',
360
+ isset( $this->animation['easing'] ) ? $this->animation['easing'] : null,
361
+ array(
362
+ 'linear' => esc_html__( 'Constant speed', 'visualizer' ),
363
+ 'in' => esc_html__( 'Start slow and speed up', 'visualizer' ),
364
+ 'out' => esc_html__( 'Start fast and slow down', 'visualizer' ),
365
+ 'inAndOut' => esc_html__( 'Start slow, speed up, then slow down', 'visualizer' ),
366
+ ),
367
+ esc_html__( 'The easing function applied to the animation.', 'visualizer' )
368
+ );
369
+
370
+ self::_renderSectionEnd();
371
+
372
+ }
373
+
374
  /**
375
  * Renders tooltip settings section.
376
  *
classes/Visualizer/Render/Sidebar/Type/Gauge.php CHANGED
@@ -38,16 +38,31 @@ class Visualizer_Render_Sidebar_Type_Gauge extends Visualizer_Render_Sidebar {
38
  * @access protected
39
  */
40
  protected function _toHTML() {
 
41
  $this->_renderGeneralSettings();
42
- $this->_renderGreenColorSettings();
43
- $this->_renderYellowColorSettings();
44
- $this->_renderRedColorSettings();
45
  $this->_renderViewSettings();
46
  $this->_renderAdvancedSettings();
47
  }
48
 
49
  /**
50
- * Renders chart general settings group.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  *
52
  * @since 1.0.0
53
  *
@@ -55,40 +70,60 @@ class Visualizer_Render_Sidebar_Type_Gauge extends Visualizer_Render_Sidebar {
55
  */
56
  protected function _renderGeneralSettings() {
57
  self::_renderGroupStart( esc_html__( 'General Settings', 'visualizer' ) );
58
- self::_renderSectionStart();
59
 
60
- echo '<div class="viz-section-item">';
61
- echo '<a class="more-info" href="javascript:;">[?]</a>';
62
- echo '<b>', esc_html__( 'Min And Max Values', 'visualizer' ), '</b>';
 
 
 
 
 
63
 
64
- echo '<table class="viz-section-table" cellspacing="0" cellpadding="0" border="0">';
65
- echo '<tr>';
66
- echo '<td class="viz-section-table-column">';
67
- echo '<input type="text" name="min" class="control-text" value="', esc_attr( $this->min ), '" placeholder="0">';
68
- echo '</td>';
69
- echo '<td class="viz-section-table-column">';
70
- echo '<input type="text" name="max" class="control-text" value="', esc_attr( $this->max ), '" placeholder="100">';
71
- echo '</td>';
72
- echo '</tr>';
73
- echo '</table>';
74
 
75
- echo '<p class="viz-section-description">';
76
- esc_html_e( 'The maximal and minimal values of the gauge.', 'visualizer' );
77
- echo '</p>';
78
- echo '</div>';
 
 
 
 
 
79
 
80
- self::_renderTextItem(
81
- esc_html__( 'Minor Ticks', 'visualizer' ),
82
- 'minorTicks',
83
- $this->minorTicks,
84
- esc_html__( 'The number of minor tick section in each major tick section.', 'visualizer' ),
85
- 2
86
- );
87
 
88
- $this->_renderFormatField();
 
 
 
 
 
 
 
 
 
89
 
90
- self::_renderSectionEnd();
91
- self::_renderGroupEnd();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  }
93
 
94
  /**
@@ -99,8 +134,7 @@ class Visualizer_Render_Sidebar_Type_Gauge extends Visualizer_Render_Sidebar {
99
  * @access protected
100
  */
101
  protected function _renderGreenColorSettings() {
102
- self::_renderGroupStart( esc_html__( 'Green Color', 'visualizer' ) );
103
- self::_renderSectionStart();
104
  self::_renderSectionDescription( esc_html__( 'Configure the green section of the gauge chart.', 'visualizer' ) );
105
 
106
  echo '<div class="viz-section-item">';
@@ -130,7 +164,6 @@ class Visualizer_Render_Sidebar_Type_Gauge extends Visualizer_Render_Sidebar {
130
  '#109618'
131
  );
132
  self::_renderSectionEnd();
133
- self::_renderGroupEnd();
134
  }
135
 
136
  /**
@@ -141,8 +174,7 @@ class Visualizer_Render_Sidebar_Type_Gauge extends Visualizer_Render_Sidebar {
141
  * @access protected
142
  */
143
  protected function _renderYellowColorSettings() {
144
- self::_renderGroupStart( esc_html__( 'Yellow Color', 'visualizer' ) );
145
- self::_renderSectionStart();
146
  self::_renderSectionDescription( esc_html__( 'Configure the yellow section of the gauge chart.', 'visualizer' ) );
147
 
148
  echo '<div class="viz-section-item">';
@@ -172,7 +204,6 @@ class Visualizer_Render_Sidebar_Type_Gauge extends Visualizer_Render_Sidebar {
172
  '#FF9900'
173
  );
174
  self::_renderSectionEnd();
175
- self::_renderGroupEnd();
176
  }
177
 
178
  /**
@@ -183,8 +214,7 @@ class Visualizer_Render_Sidebar_Type_Gauge extends Visualizer_Render_Sidebar {
183
  * @access protected
184
  */
185
  protected function _renderRedColorSettings() {
186
- self::_renderGroupStart( esc_html__( 'Red Color', 'visualizer' ) );
187
- self::_renderSectionStart();
188
  self::_renderSectionDescription( esc_html__( 'Configure the red section of the gauge chart.', 'visualizer' ) );
189
 
190
  echo '<div class="viz-section-item">';
@@ -214,7 +244,6 @@ class Visualizer_Render_Sidebar_Type_Gauge extends Visualizer_Render_Sidebar {
214
  '#DC3912'
215
  );
216
  self::_renderSectionEnd();
217
- self::_renderGroupEnd();
218
  }
219
 
220
  /**
38
  * @access protected
39
  */
40
  protected function _toHTML() {
41
+ $this->_supportsAnimation = false;
42
  $this->_renderGeneralSettings();
43
+ $this->_renderGaugeSettings();
 
 
44
  $this->_renderViewSettings();
45
  $this->_renderAdvancedSettings();
46
  }
47
 
48
  /**
49
+ * Renders Gauge settings group.
50
+ *
51
+ * @since 1.0.0
52
+ *
53
+ * @access protected
54
+ */
55
+ protected function _renderGaugeSettings() {
56
+ self::_renderGroupStart( esc_html__( 'Gauge Settings', 'visualizer' ) );
57
+ $this->_renderTickSettings();
58
+ $this->_renderGreenColorSettings();
59
+ $this->_renderYellowColorSettings();
60
+ $this->_renderRedColorSettings();
61
+ self::_renderGroupEnd();
62
+ }
63
+
64
+ /**
65
+ * Renders general settings group.
66
  *
67
  * @since 1.0.0
68
  *
70
  */
71
  protected function _renderGeneralSettings() {
72
  self::_renderGroupStart( esc_html__( 'General Settings', 'visualizer' ) );
 
73
 
74
+ self::_renderSectionStart( esc_html__( 'Title', 'visualizer' ), false );
75
+ self::_renderTextItem(
76
+ esc_html__( 'Chart Title', 'visualizer' ),
77
+ 'title',
78
+ $this->title,
79
+ esc_html__( 'Text to display in the back-end admin area.', 'visualizer' )
80
+ );
81
+ self::_renderSectionEnd();
82
 
83
+ self::_renderSectionStart( esc_html__( 'Gauge Settings', 'visualizer' ), false );
84
+ }
 
 
 
 
 
 
 
 
85
 
86
+ /**
87
+ * Renders tick settings group.
88
+ *
89
+ * @since 1.0.0
90
+ *
91
+ * @access protected
92
+ */
93
+ protected function _renderTickSettings() {
94
+ self::_renderSectionStart( esc_html__( 'Tick Settings', 'visualizer' ), false );
95
 
96
+ echo '<div class="viz-section-item">';
97
+ echo '<a class="more-info" href="javascript:;">[?]</a>';
98
+ echo '<b>', esc_html__( 'Min And Max Values', 'visualizer' ), '</b>';
 
 
 
 
99
 
100
+ echo '<table class="viz-section-table" cellspacing="0" cellpadding="0" border="0">';
101
+ echo '<tr>';
102
+ echo '<td class="viz-section-table-column">';
103
+ echo '<input type="text" name="min" class="control-text" value="', esc_attr( $this->min ), '" placeholder="0">';
104
+ echo '</td>';
105
+ echo '<td class="viz-section-table-column">';
106
+ echo '<input type="text" name="max" class="control-text" value="', esc_attr( $this->max ), '" placeholder="100">';
107
+ echo '</td>';
108
+ echo '</tr>';
109
+ echo '</table>';
110
 
111
+ echo '<p class="viz-section-description">';
112
+ esc_html_e( 'The maximal and minimal values of the gauge.', 'visualizer' );
113
+ echo '</p>';
114
+ echo '</div>';
115
+
116
+ self::_renderTextItem(
117
+ esc_html__( 'Minor Ticks', 'visualizer' ),
118
+ 'minorTicks',
119
+ $this->minorTicks,
120
+ esc_html__( 'The number of minor tick section in each major tick section.', 'visualizer' ),
121
+ 2
122
+ );
123
+
124
+ $this->_renderFormatField();
125
+
126
+ self::_renderSectionEnd();
127
  }
128
 
129
  /**
134
  * @access protected
135
  */
136
  protected function _renderGreenColorSettings() {
137
+ self::_renderSectionStart( esc_html__( 'Green Color', 'visualizer' ), false );
 
138
  self::_renderSectionDescription( esc_html__( 'Configure the green section of the gauge chart.', 'visualizer' ) );
139
 
140
  echo '<div class="viz-section-item">';
164
  '#109618'
165
  );
166
  self::_renderSectionEnd();
 
167
  }
168
 
169
  /**
174
  * @access protected
175
  */
176
  protected function _renderYellowColorSettings() {
177
+ self::_renderSectionStart( esc_html__( 'Yellow Color', 'visualizer' ), false );
 
178
  self::_renderSectionDescription( esc_html__( 'Configure the yellow section of the gauge chart.', 'visualizer' ) );
179
 
180
  echo '<div class="viz-section-item">';
204
  '#FF9900'
205
  );
206
  self::_renderSectionEnd();
 
207
  }
208
 
209
  /**
214
  * @access protected
215
  */
216
  protected function _renderRedColorSettings() {
217
+ self::_renderSectionStart( esc_html__( 'Red Color', 'visualizer' ), false );
 
218
  self::_renderSectionDescription( esc_html__( 'Configure the red section of the gauge chart.', 'visualizer' ) );
219
 
220
  echo '<div class="viz-section-item">';
244
  '#DC3912'
245
  );
246
  self::_renderSectionEnd();
 
247
  }
248
 
249
  /**
classes/Visualizer/Render/Sidebar/Type/Geo.php CHANGED
@@ -38,6 +38,8 @@ class Visualizer_Render_Sidebar_Type_Geo extends Visualizer_Render_Sidebar {
38
  * @access protected
39
  */
40
  protected function _toHTML() {
 
 
41
  $this->_renderMapSettings();
42
  $this->_renderColorAxisSettings();
43
  $this->_renderSizeAxisSettings();
@@ -46,6 +48,26 @@ class Visualizer_Render_Sidebar_Type_Geo extends Visualizer_Render_Sidebar {
46
  $this->_renderAdvancedSettings();
47
  }
48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  /**
50
  * Renders map settings group.
51
  *
38
  * @access protected
39
  */
40
  protected function _toHTML() {
41
+ $this->_supportsAnimation = false;
42
+ $this->_renderGeneralSettings();
43
  $this->_renderMapSettings();
44
  $this->_renderColorAxisSettings();
45
  $this->_renderSizeAxisSettings();
48
  $this->_renderAdvancedSettings();
49
  }
50
 
51
+ /**
52
+ * Renders general settings group.
53
+ *
54
+ * @since 1.0.0
55
+ *
56
+ * @access protected
57
+ */
58
+ protected function _renderGeneralSettings() {
59
+ self::_renderGroupStart( esc_html__( 'General Settings', 'visualizer' ) );
60
+ self::_renderSectionStart( esc_html__( 'Title', 'visualizer' ), false );
61
+ self::_renderTextItem(
62
+ esc_html__( 'Chart Title', 'visualizer' ),
63
+ 'title',
64
+ $this->title,
65
+ esc_html__( 'Text to display in the back-end admin area.', 'visualizer' )
66
+ );
67
+ self::_renderSectionEnd();
68
+ self::_renderGroupEnd();
69
+ }
70
+
71
  /**
72
  * Renders map settings group.
73
  *
classes/Visualizer/Render/Sidebar/Type/Pie.php CHANGED
@@ -38,6 +38,7 @@ class Visualizer_Render_Sidebar_Type_Pie extends Visualizer_Render_Sidebar {
38
  * @access protected
39
  */
40
  protected function _toHTML() {
 
41
  $this->_renderGeneralSettings();
42
  $this->_renderPieSettings();
43
  $this->_renderResidueSettings();
38
  * @access protected
39
  */
40
  protected function _toHTML() {
41
+ $this->_supportsAnimation = false;
42
  $this->_renderGeneralSettings();
43
  $this->_renderPieSettings();
44
  $this->_renderResidueSettings();
css/media.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- Version: 3.0.8
3
  */
4
  #visualizer-library-view {
5
  padding: 30px 10px 10px 30px;
1
  /*
2
+ Version: 3.0.9
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: 3.0.8
8
  Author: Themeisle
9
  Author URI: http://themeisle.com
10
  License: GPL v2.0 or later
@@ -88,7 +88,9 @@ function visualizer_launch() {
88
  if ( is_admin() || defined( 'WP_TESTS_DOMAIN' ) ) {
89
  // set admin modules
90
  $plugin->setModule( Visualizer_Module_Admin::NAME );
91
- } else {
 
 
92
  // set frontend modules
93
  $plugin->setModule( Visualizer_Module_Frontend::NAME );
94
  }
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.9
8
  Author: Themeisle
9
  Author URI: http://themeisle.com
10
  License: GPL v2.0 or later
88
  if ( is_admin() || defined( 'WP_TESTS_DOMAIN' ) ) {
89
  // set admin modules
90
  $plugin->setModule( Visualizer_Module_Admin::NAME );
91
+ }
92
+
93
+ if ( ! is_admin() || defined( 'WP_TESTS_DOMAIN' ) ) {
94
  // set frontend modules
95
  $plugin->setModule( Visualizer_Module_Frontend::NAME );
96
  }
js/render.js CHANGED
@@ -1,6 +1,10 @@
1
  /* global google */
2
  /* global visualizer */
3
  /* global console */
 
 
 
 
4
  (function(v, g) {
5
  var gv;
6
 
@@ -36,6 +40,12 @@
36
  render = new gv[render](container);
37
  }
38
 
 
 
 
 
 
 
39
  switch (chart.type) {
40
  case 'pie':
41
  if (settings.slices) {
@@ -201,6 +211,17 @@
201
 
202
  v.override(settings);
203
 
 
 
 
 
 
 
 
 
 
 
 
204
  render.draw(table, settings);
205
  };
206
 
1
  /* global google */
2
  /* global visualizer */
3
  /* global console */
4
+
5
+ // this will store the images for each chart rendered.
6
+ var __visualizer_chart_images = [];
7
+
8
  (function(v, g) {
9
  var gv;
10
 
40
  render = new gv[render](container);
41
  }
42
 
43
+ if (settings['animation'] && parseInt(settings['animation']['startup']) === 1)
44
+ {
45
+ settings['animation']['startup'] = true;
46
+ settings['animation']['duration'] = parseInt(settings['animation']['duration']);
47
+ }
48
+
49
  switch (chart.type) {
50
  case 'pie':
51
  if (settings.slices) {
211
 
212
  v.override(settings);
213
 
214
+ g.visualization.events.addListener(render, 'ready', function () {
215
+ var arr = id.split('-');
216
+ try{
217
+ var img = render.getImageURI();
218
+ __visualizer_chart_images[ arr[0] + '-' + arr[1] ] = img;
219
+ jQuery('body').trigger('visualizer:render:chart', {id: arr[1], image: img});
220
+ }catch(error){
221
+ console.warn('render.getImageURI not defined for ' + arr[0] + '-' + arr[1]);
222
+ }
223
+ });
224
+
225
  render.draw(table, settings);
226
  };
227
 
readme.md CHANGED
@@ -144,6 +144,13 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
144
  5. Charts library
145
 
146
  ## Changelog ##
 
 
 
 
 
 
 
147
  ### 3.0.8 - 2018-06-27 ###
148
 
149
  * Added revision support for the chart post type
144
  5. Charts library
145
 
146
  ## Changelog ##
147
+ ### 3.0.9 - 2018-07-12 ###
148
+
149
+ * New chart title option for the back-end of the charts that don't allow a title on the front-end
150
+ * Store the png images of the charts in a global array that can be used in JS
151
+ * Added options for charts animations
152
+
153
+
154
  ### 3.0.8 - 2018-06-27 ###
155
 
156
  * Added revision support for the chart post type
readme.txt CHANGED
@@ -144,6 +144,13 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
144
  5. Charts library
145
 
146
  == Changelog ==
 
 
 
 
 
 
 
147
  = 3.0.8 - 2018-06-27 =
148
 
149
  * Added revision support for the chart post type
144
  5. Charts library
145
 
146
  == Changelog ==
147
+ = 3.0.9 - 2018-07-12 =
148
+
149
+ * New chart title option for the back-end of the charts that don't allow a title on the front-end
150
+ * Store the png images of the charts in a global array that can be used in JS
151
+ * Added options for charts animations
152
+
153
+
154
  = 3.0.8 - 2018-06-27 =
155
 
156
  * Added revision support for the chart post type
themeisle-hash.json CHANGED
@@ -1 +1 @@
1
- {"index.php":"9f0ab01e57b855474e893f3970fd7cff"}
1
+ {"index.php":"6aa5f5dcf6ae81c21b03e5123e007d6e"}
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitbabe00cd6f6536e75c2f39c81b5f777b::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit2a715a30ab74b2bc39529f9e0c9235e0::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit7aed832689ae7a27f14633dbfa23d4bc::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInitba7697316916439592186ea70b602b39::getLoader();
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php CHANGED
@@ -579,6 +579,9 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
579
  set_transient( $this->product_key, $update_data, strtotime( '+12 hours' ) );
580
  }
581
  }
 
 
 
582
  if ( version_compare( $this->product->get_version(), $update_data->new_version, '>=' ) ) {
583
  return false;
584
  }
579
  set_transient( $this->product_key, $update_data, strtotime( '+12 hours' ) );
580
  }
581
  }
582
+ if ( ! isset( $update_data->new_version ) ) {
583
+ return false;
584
+ }
585
  if ( version_compare( $this->product->get_version(), $update_data->new_version, '>=' ) ) {
586
  return false;
587
  }
vendor/codeinwp/themeisle-sdk/load.php CHANGED
@@ -11,7 +11,7 @@
11
  */
12
 
13
  // Current SDK version and path.
14
- $themeisle_sdk_version = '2.2.5';
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.2.6';
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 ComposerAutoloaderInitbabe00cd6f6536e75c2f39c81b5f777b
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitbabe00cd6f6536e75c2f39c81b5f777b
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitbabe00cd6f6536e75c2f39c81b5f777b', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitbabe00cd6f6536e75c2f39c81b5f777b', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInitbabe00cd6f6536e75c2f39c81b5f777b
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequirebabe00cd6f6536e75c2f39c81b5f777b($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequirebabe00cd6f6536e75c2f39c81b5f777b($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 ComposerAutoloaderInit2a715a30ab74b2bc39529f9e0c9235e0
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit2a715a30ab74b2bc39529f9e0c9235e0', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit2a715a30ab74b2bc39529f9e0c9235e0', '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
+ composerRequire2a715a30ab74b2bc39529f9e0c9235e0($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire2a715a30ab74b2bc39529f9e0c9235e0($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 ComposerAutoloaderInit7aed832689ae7a27f14633dbfa23d4bc {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit7aed832689ae7a27f14633dbfa23d4bc {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit7aed832689ae7a27f14633dbfa23d4bc', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit7aed832689ae7a27f14633dbfa23d4bc', '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 ComposerAutoloaderInitba7697316916439592186ea70b602b39 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitba7697316916439592186ea70b602b39', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitba7697316916439592186ea70b602b39', '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": "33d470402379047bc430c39ecab9a8a4a850d0d2"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/33d470402379047bc430c39ecab9a8a4a850d0d2",
14
- "reference": "33d470402379047bc430c39ecab9a8a4a850d0d2",
15
  "shasum": ""
16
  },
17
- "time": "2018-06-06 14:49:32",
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": "56c6a769b08f0559e5085937e40409fb04b7a166"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/56c6a769b08f0559e5085937e40409fb04b7a166",
14
+ "reference": "56c6a769b08f0559e5085937e40409fb04b7a166",
15
  "shasum": ""
16
  },
17
+ "time": "2018-06-28 13:22:23",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {