SiteOrigin Widgets Bundle - Version 1.4.4

Version Description

  • September 6 2015 =
  • Fixed issue with slider image widths.
Download this release

Release Info

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

Code changes from version 1.4.3 to 1.4.4

readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Tags: bundle, widget, button, slider, image, carousel, price table, google maps, tinymce, social links
3
  Requires at least: 3.9
4
  Tested up to: 4.3
5
- Stable tag: 1.4.2
6
  License: GPLv3 or later
7
  Contributors: gpriday, braam-genis
8
 
@@ -50,8 +50,11 @@ The SiteOrigin Widgets Bundle is the perfect platform to build widgets for your
50
 
51
  == Changelog ==
52
 
 
 
 
53
  = 1.4.3 - September 5 2015 =
54
- * Added support for WooCommerce shortcodes to TinyMCE field.
55
  * New streamlined icon selector field.
56
  * Added info window functionality to maps widget.
57
  * Added a button to duplicate repeater items.
@@ -60,6 +63,7 @@ The SiteOrigin Widgets Bundle is the perfect platform to build widgets for your
60
  * Option to keep map centered when container is resized.
61
  * Fixed: CSS bug for Google font imports on generated CSS.
62
  * Fixed: Post selector for URL fields properly handles empty titles.
 
63
 
64
  = 1.4.2 - August 18 2015 =
65
  * Urgent fix in preparation for WordPress 4.3 release
2
  Tags: bundle, widget, button, slider, image, carousel, price table, google maps, tinymce, social links
3
  Requires at least: 3.9
4
  Tested up to: 4.3
5
+ Stable tag: 1.4.3
6
  License: GPLv3 or later
7
  Contributors: gpriday, braam-genis
8
 
50
 
51
  == Changelog ==
52
 
53
+ = 1.4.4 - September 6 2015 =
54
+ * Fixed issue with slider image widths.
55
+
56
  = 1.4.3 - September 5 2015 =
57
+ * Added support for WooCommerce Shortcodes plugin to TinyMCE field.
58
  * New streamlined icon selector field.
59
  * Added info window functionality to maps widget.
60
  * Added a button to duplicate repeater items.
63
  * Option to keep map centered when container is resized.
64
  * Fixed: CSS bug for Google font imports on generated CSS.
65
  * Fixed: Post selector for URL fields properly handles empty titles.
66
+ * Added option to skip auto paragraphs in Editor widget.
67
 
68
  = 1.4.2 - August 18 2015 =
69
  * Urgent fix in preparation for WordPress 4.3 release
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.4.3
6
  Author: SiteOrigin
7
  Author URI: https://siteorigin.com
8
  Plugin URI: https://siteorigin.com/widgets-bundle/
@@ -10,7 +10,7 @@ License: GPL3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
11
  */
12
 
13
- define('SOW_BUNDLE_VERSION', '1.4.3');
14
  define('SOW_BUNDLE_JS_SUFFIX', '.min');
15
  define('SOW_BUNDLE_BASE_FILE', __FILE__);
16
 
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.4.4
6
  Author: SiteOrigin
7
  Author URI: https://siteorigin.com
8
  Plugin URI: https://siteorigin.com/widgets-bundle/
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
11
  */
12
 
13
+ define('SOW_BUNDLE_VERSION', '1.4.4');
14
  define('SOW_BUNDLE_JS_SUFFIX', '.min');
15
  define('SOW_BUNDLE_BASE_FILE', __FILE__);
16
 
widgets/so-slider-widget/so-slider-widget.php CHANGED
@@ -123,19 +123,23 @@ class SiteOrigin_Widget_Slider_Widget extends SiteOrigin_Widget_Base_Slider {
123
  }
124
  }
125
 
126
- $foreground_image = siteorigin_widgets_get_attachment_image(
127
  $frame['foreground_image'],
128
  'full',
129
  !empty( $frame['foreground_image_fallback'] ) ? $frame['foreground_image_fallback'] : ''
130
  );
131
 
132
- if( !empty($foreground_image) ) {
133
  ?>
134
  <div class="sow-slider-image-container">
135
- <div class="sow-slider-image-wrapper" style="<?php if(!empty($foreground_image[1])) echo 'max-width: ' . intval($foreground_image[1]) . 'px' ?>">
136
  <?php
137
  if(!empty($frame['url'])) echo '<a href="' . sow_esc_url($frame['url']) . '">';
138
- echo $foreground_image;
 
 
 
 
139
  if(!empty($frame['url'])) echo '</a>';
140
  ?>
141
  </div>
123
  }
124
  }
125
 
126
+ $foreground_src = siteorigin_widgets_get_attachment_image_src(
127
  $frame['foreground_image'],
128
  'full',
129
  !empty( $frame['foreground_image_fallback'] ) ? $frame['foreground_image_fallback'] : ''
130
  );
131
 
132
+ if( !empty($foreground_src) ) {
133
  ?>
134
  <div class="sow-slider-image-container">
135
+ <div class="sow-slider-image-wrapper" style="<?php if(!empty($foreground_src[1])) echo 'max-width: ' . intval($foreground_src[1]) . 'px' ?>">
136
  <?php
137
  if(!empty($frame['url'])) echo '<a href="' . sow_esc_url($frame['url']) . '">';
138
+ echo siteorigin_widgets_get_attachment_image(
139
+ $frame['foreground_image'],
140
+ 'full',
141
+ !empty( $frame['foreground_image_fallback'] ) ? $frame['foreground_image_fallback'] : ''
142
+ );
143
  if(!empty($frame['url'])) echo '</a>';
144
  ?>
145
  </div>