SiteOrigin Widgets Bundle - Version 1.35.1

Version Description

  • 25 May 2022 =
  • Updated WordPress Tested up to tag.
  • Accordion: Added a hyphen prior to the panel URL anchor.
Download this release

Release Info

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

Code changes from version 1.35.0 to 1.35.1

readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === SiteOrigin Widgets Bundle ===
2
  Tags: widget, button, slider, hero, google maps, image, carousel, lottie, features, icons, price table, tinymce, social icons
3
  Requires at least: 4.2
4
- Tested up to: 5.9
5
  Requires PHP: 5.6.20
6
- Stable tag: 1.35.0
7
- Build time: 2022-05-21T10:59:09+02:00
8
  License: GPLv3 or later
9
  Contributors: gpriday, braam-genis, alexgso
10
  Donate link: https://siteorigin.com/downloads/premium/
@@ -105,6 +105,10 @@ The Widgets Bundle global interface is available at Plugins > SiteOrigin Widgets
105
 
106
  == Changelog ==
107
 
 
 
 
 
108
  = 1.35.0 - 21 May 2022 =
109
  * Contact Form: Added reCAPTCHA V3 support.
110
 
1
  === SiteOrigin Widgets Bundle ===
2
  Tags: widget, button, slider, hero, google maps, image, carousel, lottie, features, icons, price table, tinymce, social icons
3
  Requires at least: 4.2
4
+ Tested up to: 6.0
5
  Requires PHP: 5.6.20
6
+ Stable tag: 1.35.1
7
+ Build time: 2022-05-25T18:44:28+02:00
8
  License: GPLv3 or later
9
  Contributors: gpriday, braam-genis, alexgso
10
  Donate link: https://siteorigin.com/downloads/premium/
105
 
106
  == Changelog ==
107
 
108
+ = 1.35.1 - 25 May 2022 =
109
+ * Updated WordPress `Tested up to` tag.
110
+ * Accordion: Added a hyphen prior to the panel URL anchor.
111
+
112
  = 1.35.0 - 21 May 2022 =
113
  * Contact Form: Added reCAPTCHA V3 support.
114
 
so-widgets-bundle.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: SiteOrigin Widgets Bundle
4
  Description: A highly customizable collection of widgets, ready to be used anywhere, neatly bundled into a single plugin.
5
- Version: 1.35.0
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.35.0' );
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 highly customizable collection of widgets, ready to be used anywhere, neatly bundled into a single plugin.
5
+ Version: 1.35.1
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.35.1' );
16
  define( 'SOW_BUNDLE_BASE_FILE', __FILE__ );
17
 
18
  // Allow JS suffix to be pre-set.
widgets/accordion/js/accordion.js CHANGED
@@ -130,7 +130,7 @@ jQuery( function ( $ ) {
130
  for ( var i = 0; i < allOpenPanels.length; i++ ) {
131
  var anchor = $( allOpenPanels[ i ] ).data( 'anchor' );
132
  if ( anchorId && anchorId != 1 ) {
133
- anchor = anchorId + anchor;
134
  }
135
 
136
  if ( anchor ) {
@@ -158,7 +158,7 @@ jQuery( function ( $ ) {
158
  var anchorId = $widget.data( 'anchor-id' ) ? $widget.data( 'anchor-id' ) : false;
159
 
160
  if ( anchorId && anchorId != 1 ) {
161
- panelAnchor = $widget.data( 'anchor-id' ) + panelAnchor;
162
  }
163
  var panelOpen = anchors.some( function ( anchor ) {
164
  return decodeURI( panelAnchor ) === decodeURI( anchor );
130
  for ( var i = 0; i < allOpenPanels.length; i++ ) {
131
  var anchor = $( allOpenPanels[ i ] ).data( 'anchor' );
132
  if ( anchorId && anchorId != 1 ) {
133
+ anchor = anchorId + '-' + anchor;
134
  }
135
 
136
  if ( anchor ) {
158
  var anchorId = $widget.data( 'anchor-id' ) ? $widget.data( 'anchor-id' ) : false;
159
 
160
  if ( anchorId && anchorId != 1 ) {
161
+ panelAnchor = $widget.data( 'anchor-id' ) + '-' + panelAnchor;
162
  }
163
  var panelOpen = anchors.some( function ( anchor ) {
164
  return decodeURI( panelAnchor ) === decodeURI( anchor );
widgets/accordion/js/accordion.min.js CHANGED
@@ -1 +1 @@
1
- var sowb=window.sowb||{};jQuery((function(o){sowb.setupAccordion=function(){o(".sow-accordion").each((function(n,a){var e=o(this).closest(".so-widget-sow-accordion");if(e.data("initialized"))return o(this);var i=o(a).find("> .sow-accordion-panel"),t=i.filter(".sow-accordion-panel-open").toArray(),c=function(){},r=function(n,a){var e=sowAccordion.scrollto_offset?sowAccordion.scrollto_offset:80,i=n.offset().top-e;a?o("body,html").animate({scrollTop:i},200):window.scrollTo(0,i)},s=function(n,a,e){var i=o(n);if(!i.is(".sow-accordion-panel-open")){i.find("> .sow-accordion-panel-content").slideDown({start:function(){o(window).trigger("resize"),o(sowb).trigger("setup_widgets")},complete:function(){e&&sowAccordion.scrollto_after_change&&(i.offset().top<window.scrollY||i.offset().top+i.height()>window.scrollY)&&r(i,!0),o(this).trigger("show")}}),i.find("> .sow-accordion-panel-header-container > .sow-accordion-panel-header").attr("aria-expanded",!0),i.addClass("sow-accordion-panel-open"),t.push(n);var d=o(n).parents(".sow-accordion-panel");d.length&&!d.hasClass("sow-accordion-panel-open")&&s(d.get(0),!0),a||c()}},d=function(n,a){var e=o(n);e.is(".sow-accordion-panel-open")&&(e.find("> .sow-accordion-panel-content").slideUp((function(){o(this).trigger("hide")})),e.find("> .sow-accordion-panel-header-container > .sow-accordion-panel-header").attr("aria-expanded",!1),e.removeClass("sow-accordion-panel-open"),t.splice(t.indexOf(n),1),a||c())};if(i.find("> .sow-accordion-panel-header-container > .sow-accordion-panel-header").on("click keydown",(function(n){if("keydown"==n.type){if(13!==n.keyCode&&32!==n.keyCode)return;n.preventDefault()}var a=o(this),i=e.data("maxOpenPanels"),c=a.closest(".sow-accordion-panel");if(c.is(".sow-accordion-panel-open")?d(c.get(0)):s(c.get(0),!1,!0),!isNaN(i)&&i>0&&t.length>i){var r=0;o.each(t.reverse(),(function(o,n){r!==i?r++:d(t[o])}))}})),e.data("anchor-id")||e.data("use-anchor-tags")){var l,w=!!e.data("anchor-id")&&e.data("anchor-id");c=function(){l&&clearTimeout(l),l=setTimeout((function(){for(var n=[],a=o(".sow-accordion-panel-open").toArray(),e=0;e<a.length;e++){var i=o(a[e]).data("anchor");if(w&&1!=w&&(i=w+i),i){var t=o(a[e]).parents(".sow-accordion-panel");(!t.length||t.length&&t.hasClass("sow-accordion-panel-open"))&&(n[e]=i)}}n&&n.length?window.location.hash=n.join(","):window.location.hash&&window.history.pushState("",document.title,window.location.pathname+window.location.search)}),100)};var h=function(){for(var n=i.toArray(),a=window.location.hash.substring(1).split(","),t=0;t<n.length;t++){var c=n[t],r=o(c).data("anchor"),l=!!e.data("anchor-id")&&e.data("anchor-id");l&&1!=l&&(r=e.data("anchor-id")+r),a.some((function(o){return decodeURI(r)===decodeURI(o)}))?s(c,!0,!0):d(c,!0)}};o(window).on("hashchange",h),window.location.hash?h():c();var p=e.data("initialScrollPanel");if(window.location.hash&&t.length)setTimeout((function(){r(o(t[0]))}),500);else if(p>0){var f=p>i.length?i.last():i.eq(p-1);setTimeout((function(){r(f)}),500)}}e.data("initialized",!0)}))},sowb.setupAccordion(),o(sowb).on("setup_widgets",sowb.setupAccordion)})),window.sowb=sowb;
1
+ var sowb=window.sowb||{};jQuery((function(o){sowb.setupAccordion=function(){o(".sow-accordion").each((function(n,a){var e=o(this).closest(".so-widget-sow-accordion");if(e.data("initialized"))return o(this);var i=o(a).find("> .sow-accordion-panel"),t=i.filter(".sow-accordion-panel-open").toArray(),c=function(){},r=function(n,a){var e=sowAccordion.scrollto_offset?sowAccordion.scrollto_offset:80,i=n.offset().top-e;a?o("body,html").animate({scrollTop:i},200):window.scrollTo(0,i)},s=function(n,a,e){var i=o(n);if(!i.is(".sow-accordion-panel-open")){i.find("> .sow-accordion-panel-content").slideDown({start:function(){o(window).trigger("resize"),o(sowb).trigger("setup_widgets")},complete:function(){e&&sowAccordion.scrollto_after_change&&(i.offset().top<window.scrollY||i.offset().top+i.height()>window.scrollY)&&r(i,!0),o(this).trigger("show")}}),i.find("> .sow-accordion-panel-header-container > .sow-accordion-panel-header").attr("aria-expanded",!0),i.addClass("sow-accordion-panel-open"),t.push(n);var d=o(n).parents(".sow-accordion-panel");d.length&&!d.hasClass("sow-accordion-panel-open")&&s(d.get(0),!0),a||c()}},d=function(n,a){var e=o(n);e.is(".sow-accordion-panel-open")&&(e.find("> .sow-accordion-panel-content").slideUp((function(){o(this).trigger("hide")})),e.find("> .sow-accordion-panel-header-container > .sow-accordion-panel-header").attr("aria-expanded",!1),e.removeClass("sow-accordion-panel-open"),t.splice(t.indexOf(n),1),a||c())};if(i.find("> .sow-accordion-panel-header-container > .sow-accordion-panel-header").on("click keydown",(function(n){if("keydown"==n.type){if(13!==n.keyCode&&32!==n.keyCode)return;n.preventDefault()}var a=o(this),i=e.data("maxOpenPanels"),c=a.closest(".sow-accordion-panel");if(c.is(".sow-accordion-panel-open")?d(c.get(0)):s(c.get(0),!1,!0),!isNaN(i)&&i>0&&t.length>i){var r=0;o.each(t.reverse(),(function(o,n){r!==i?r++:d(t[o])}))}})),e.data("anchor-id")||e.data("use-anchor-tags")){var l,w=!!e.data("anchor-id")&&e.data("anchor-id");c=function(){l&&clearTimeout(l),l=setTimeout((function(){for(var n=[],a=o(".sow-accordion-panel-open").toArray(),e=0;e<a.length;e++){var i=o(a[e]).data("anchor");if(w&&1!=w&&(i=w+"-"+i),i){var t=o(a[e]).parents(".sow-accordion-panel");(!t.length||t.length&&t.hasClass("sow-accordion-panel-open"))&&(n[e]=i)}}n&&n.length?window.location.hash=n.join(","):window.location.hash&&window.history.pushState("",document.title,window.location.pathname+window.location.search)}),100)};var h=function(){for(var n=i.toArray(),a=window.location.hash.substring(1).split(","),t=0;t<n.length;t++){var c=n[t],r=o(c).data("anchor"),l=!!e.data("anchor-id")&&e.data("anchor-id");l&&1!=l&&(r=e.data("anchor-id")+"-"+r),a.some((function(o){return decodeURI(r)===decodeURI(o)}))?s(c,!0,!0):d(c,!0)}};o(window).on("hashchange",h),window.location.hash?h():c();var p=e.data("initialScrollPanel");if(window.location.hash&&t.length)setTimeout((function(){r(o(t[0]))}),500);else if(p>0){var f=p>i.length?i.last():i.eq(p-1);setTimeout((function(){r(f)}),500)}}e.data("initialized",!0)}))},sowb.setupAccordion(),o(sowb).on("setup_widgets",sowb.setupAccordion)})),window.sowb=sowb;
widgets/anything-carousel/assets/banner.svg CHANGED
@@ -1 +1 @@
1
- <svg enable-background="new 0 0 120 120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h120v120h-120z" fill="#1880b6"/><g stroke="#324249" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m29 40.5h62v39h-62z" fill="#86d7f2"/><path d="m40.5 33.6h39v52.8h-39z" fill="#f0eed5"/><path d="m40.5 33.6h39v27.6h-39z" fill="#86d7f2"/><path d="m62.5 46-15.1 15.1h32.1v-4.6l-10.5-10.5c-1.8-1.7-4.8-1.7-6.5 0z" fill="#f0eed5"/><circle cx="50.8" cy="43.9" fill="#f0eed5" r="3.4"/><path d="m47.4 70.3h25.3" fill="none"/><path d="m47.4 77.2h20.6" fill="none"/></g></svg>
1
+ <svg enable-background="new 0 0 120 120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="m-.1 0h120v120h-120v-120z" fill="#1880b6"/><g stroke="#324249" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m30.3 40.1h63.3v39.8h-63.3z" fill="#86d7f2"/><path d="m42 33h39.8v53.9h-39.8z" fill="#f0eed5"/><path d="m42 33h39.8v28.2h-39.8z" fill="#86d7f2"/><path d="m64.5 45.7-15.4 15.4h32.8v-4.7l-10.8-10.7c-1.8-1.8-4.9-1.8-6.6 0z" fill="#f0eed5"/><circle cx="52.5" cy="43.5" fill="#f0eed5" r="3.5"/><path d="m49.1 70.5h25.8" fill="none"/><path d="m49.1 77.6h21" fill="none"/></g></svg>