SiteOrigin Widgets Bundle - Version 1.9.10

Version Description

  • 14 September 2017 =
  • TinyMCE field: fixed issue with filter for TinyMCE plugins.
  • Added teaser messages for SiteOrigin Premium addons.
Download this release

Release Info

Developer gpriday
Plugin Icon 128x128 SiteOrigin Widgets Bundle
Version 1.9.10
Comparing to
See all releases

Code changes from version 1.9.9 to 1.9.10

base/inc/fields/tinymce.class.php CHANGED
@@ -382,6 +382,7 @@ class SiteOrigin_Widget_Field_TinyMCE extends SiteOrigin_Widget_Field_Text_Input
382
  $tmce_settings = apply_filters( 'tiny_mce_before_init', $tmce_settings, $this->element_id );
383
 
384
  foreach ( $tmce_settings as $name => $setting ) {
 
385
  if ( ! empty( $tmce_settings[ $name ] ) ) {
386
  // Attempt to decode setting as JSON. For back compat with filters used by WP editor.
387
  if ( is_string( $setting ) ) {
382
  $tmce_settings = apply_filters( 'tiny_mce_before_init', $tmce_settings, $this->element_id );
383
 
384
  foreach ( $tmce_settings as $name => $setting ) {
385
+ unset( $jdec );
386
  if ( ! empty( $tmce_settings[ $name ] ) ) {
387
  // Attempt to decode setting as JSON. For back compat with filters used by WP editor.
388
  if ( is_string( $setting ) ) {
lang/so-widgets-bundle.pot CHANGED
@@ -2085,6 +2085,10 @@ msgstr ""
2085
  msgid "Amount of spacing between images."
2086
  msgstr ""
2087
 
 
 
 
 
2088
  #: tmp/widgets/image/image.php:13
2089
  msgid "SiteOrigin Image"
2090
  msgstr ""
@@ -2309,6 +2313,10 @@ msgstr ""
2309
  msgid "Mobile Layout"
2310
  msgstr ""
2311
 
 
 
 
 
2312
  #: tmp/widgets/slider/slider.php:15
2313
  msgid "SiteOrigin Slider"
2314
  msgstr ""
@@ -2329,6 +2337,10 @@ msgstr ""
2329
  msgid "Controls"
2330
  msgstr ""
2331
 
 
 
 
 
2332
  #: tmp/widgets/social-media-buttons/data/networks.php:5
2333
  msgid "Facebook"
2334
  msgstr ""
2085
  msgid "Amount of spacing between images."
2086
  msgstr ""
2087
 
2088
+ #: tmp/widgets/image-grid/image-grid.php:151, tmp/widgets/image/image.php:187
2089
+ msgid "Add a Lightbox to your images with %sSiteOrigin Premium%s"
2090
+ msgstr ""
2091
+
2092
  #: tmp/widgets/image/image.php:13
2093
  msgid "SiteOrigin Image"
2094
  msgstr ""
2313
  msgid "Mobile Layout"
2314
  msgstr ""
2315
 
2316
+ #: tmp/widgets/simple-masonry/simple-masonry.php:223
2317
+ msgid "Add a Lightbox to your masonry images with %sSiteOrigin Premium%s"
2318
+ msgstr ""
2319
+
2320
  #: tmp/widgets/slider/slider.php:15
2321
  msgid "SiteOrigin Slider"
2322
  msgstr ""
2337
  msgid "Controls"
2338
  msgstr ""
2339
 
2340
+ #: tmp/widgets/slider/slider.php:266
2341
+ msgid "Add a Lightbox to your image slides with %sSiteOrigin Premium%s"
2342
+ msgstr ""
2343
+
2344
  #: tmp/widgets/social-media-buttons/data/networks.php:5
2345
  msgid "Facebook"
2346
  msgstr ""
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Tags: bundle, widget, button, slider, image, carousel, price table, google maps, tinymce, social links
3
  Requires at least: 4.2
4
  Tested up to: 4.8.1
5
- Stable tag: 1.9.9
6
- Build time: 2017-08-31T10:00:26+02:00
7
  License: GPLv3 or later
8
  Contributors: gpriday, braam-genis
9
  Donate link: https://siteorigin.com/downloads/contribution/
@@ -54,6 +54,10 @@ The SiteOrigin Widgets Bundle is the perfect platform to build widgets for your
54
 
55
  == Changelog ==
56
 
 
 
 
 
57
  = 1.9.9 - 31 August 2017 =
58
  * Avoid using relative paths in asset URLs.
59
  * Fixed compat with latest Elementor update.
2
  Tags: bundle, widget, button, slider, image, carousel, price table, google maps, tinymce, social links
3
  Requires at least: 4.2
4
  Tested up to: 4.8.1
5
+ Stable tag: 1.9.10
6
+ Build time: 2017-09-14T08:47:54+02:00
7
  License: GPLv3 or later
8
  Contributors: gpriday, braam-genis
9
  Donate link: https://siteorigin.com/downloads/contribution/
54
 
55
  == Changelog ==
56
 
57
+ = 1.9.10 - 14 September 2017 =
58
+ * TinyMCE field: fixed issue with filter for TinyMCE plugins.
59
+ * Added teaser messages for SiteOrigin Premium addons.
60
+
61
  = 1.9.9 - 31 August 2017 =
62
  * Avoid using relative paths in asset URLs.
63
  * Fixed compat with latest Elementor update.
so-widgets-bundle.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: SiteOrigin Widgets Bundle
4
  Description: A collection of all widgets, neatly bundled into a single plugin. It's also a framework to code your own widgets on top of.
5
- Version: 1.9.9
6
  Text Domain: so-widgets-bundle
7
  Domain Path: /lang
8
  Author: SiteOrigin
@@ -12,7 +12,7 @@ License: GPL3
12
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
13
  */
14
 
15
- define('SOW_BUNDLE_VERSION', '1.9.9');
16
  define('SOW_BUNDLE_BASE_FILE', __FILE__);
17
 
18
  // Allow JS suffix to be pre-set
2
  /*
3
  Plugin Name: SiteOrigin Widgets Bundle
4
  Description: A collection of all widgets, neatly bundled into a single plugin. It's also a framework to code your own widgets on top of.
5
+ Version: 1.9.10
6
  Text Domain: so-widgets-bundle
7
  Domain Path: /lang
8
  Author: SiteOrigin
12
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
13
  */
14
 
15
+ define('SOW_BUNDLE_VERSION', '1.9.10');
16
  define('SOW_BUNDLE_BASE_FILE', __FILE__);
17
 
18
  // Allow JS suffix to be pre-set
widgets/image-grid/image-grid.php CHANGED
@@ -143,6 +143,16 @@ class SiteOrigin_Widgets_ImageGrid_Widget extends SiteOrigin_Widget {
143
 
144
  return $less;
145
  }
 
 
 
 
 
 
 
 
 
 
146
  }
147
 
148
  siteorigin_widget_register( 'sow-image-grid', __FILE__, 'SiteOrigin_Widgets_ImageGrid_Widget' );
143
 
144
  return $less;
145
  }
146
+
147
+ function get_form_teaser(){
148
+ if( class_exists( 'SiteOrigin_Premium' ) ) return false;
149
+
150
+ return sprintf(
151
+ __( 'Add a Lightbox to your images with %sSiteOrigin Premium%s', 'so-widgets-bundle' ),
152
+ '<a href="https://siteorigin.com/downloads/premium/?featured_addon=plugin/lightbox" target="_blank">',
153
+ '</a>'
154
+ );
155
+ }
156
  }
157
 
158
  siteorigin_widget_register( 'sow-image-grid', __FILE__, 'SiteOrigin_Widgets_ImageGrid_Widget' );
widgets/image/image.php CHANGED
@@ -179,6 +179,16 @@ class SiteOrigin_Widget_Image_Widget extends SiteOrigin_Widget {
179
  'image_width' => ! empty( $instance['full_width'] ) ? '100%' : ( ! empty( $instance['bound'] ) ? 'inherit' : '' ),
180
  );
181
  }
 
 
 
 
 
 
 
 
 
 
182
  }
183
 
184
  siteorigin_widget_register('sow-image', __FILE__, 'SiteOrigin_Widget_Image_Widget');
179
  'image_width' => ! empty( $instance['full_width'] ) ? '100%' : ( ! empty( $instance['bound'] ) ? 'inherit' : '' ),
180
  );
181
  }
182
+
183
+ function get_form_teaser(){
184
+ if( class_exists( 'SiteOrigin_Premium' ) ) return false;
185
+
186
+ return sprintf(
187
+ __( 'Add a Lightbox to your images with %sSiteOrigin Premium%s', 'so-widgets-bundle' ),
188
+ '<a href="https://siteorigin.com/downloads/premium/?featured_addon=plugin/lightbox" target="_blank">',
189
+ '</a>'
190
+ );
191
+ }
192
  }
193
 
194
  siteorigin_widget_register('sow-image', __FILE__, 'SiteOrigin_Widget_Image_Widget');
widgets/simple-masonry/simple-masonry.php CHANGED
@@ -215,6 +215,16 @@ class SiteOrigin_Widget_Simple_Masonry_Widget extends SiteOrigin_Widget {
215
  )
216
  );
217
  }
 
 
 
 
 
 
 
 
 
 
218
  }
219
 
220
  siteorigin_widget_register('sow-simple-masonry', __FILE__, 'SiteOrigin_Widget_Simple_Masonry_Widget');
215
  )
216
  );
217
  }
218
+
219
+ function get_form_teaser(){
220
+ if( class_exists( 'SiteOrigin_Premium' ) ) return false;
221
+
222
+ return sprintf(
223
+ __( 'Add a Lightbox to your masonry images with %sSiteOrigin Premium%s', 'so-widgets-bundle' ),
224
+ '<a href="https://siteorigin.com/downloads/premium/?featured_addon=plugin/lightbox" target="_blank">',
225
+ '</a>'
226
+ );
227
+ }
228
  }
229
 
230
  siteorigin_widget_register('sow-simple-masonry', __FILE__, 'SiteOrigin_Widget_Simple_Masonry_Widget');
widgets/slider/slider.php CHANGED
@@ -258,6 +258,16 @@ class SiteOrigin_Widget_Slider_Widget extends SiteOrigin_Widget_Base_Slider {
258
 
259
  return $instance;
260
  }
 
 
 
 
 
 
 
 
 
 
261
  }
262
 
263
  siteorigin_widget_register('sow-slider', __FILE__, 'SiteOrigin_Widget_Slider_Widget');
258
 
259
  return $instance;
260
  }
261
+
262
+ function get_form_teaser(){
263
+ if( class_exists( 'SiteOrigin_Premium' ) ) return false;
264
+
265
+ return sprintf(
266
+ __( 'Add a Lightbox to your image slides with %sSiteOrigin Premium%s', 'so-widgets-bundle' ),
267
+ '<a href="https://siteorigin.com/downloads/premium/?featured_addon=plugin/lightbox" target="_blank">',
268
+ '</a>'
269
+ );
270
+ }
271
  }
272
 
273
  siteorigin_widget_register('sow-slider', __FILE__, 'SiteOrigin_Widget_Slider_Widget');