Skip to content

Commit

Permalink
Merge branch 'release/2.16.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Misplon committed Jan 26, 2022
2 parents a33bea3 + 9829182 commit 386f8e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion inc/sidebars-emulator.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ function __call( $name, $args ) {
if ( $instance_class == $widget_class && ! empty( $sidebar_id ) ) {
//The option value uses only the widget id number as keys
preg_match( '/-([0-9]+$)/', $sidebar_id, $num_match );
$args[0][ $num_match[1] ] = $widget_instance;
if ( ! empty( $num_match ) ) {
$args[0][ $num_match[1] ] = $widget_instance;
}
}
}
}
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Page Builder by SiteOrigin ===
Tags: page builder, responsive, parallax, widgets, blocks, gallery, layout, grid, cms, builder, widget
Requires at least: 4.7
Tested up to: 5.8
Tested up to: 5.9
Requires PHP: 5.6.20
Stable tag: trunk
Build time: unbuilt
Expand Down Expand Up @@ -107,6 +107,10 @@ SiteOrigin Premium includes access to our professional email support service, pe

== Changelog ==

= 2.16.1 - 26 January 2022 =
* Sidebar Emulator: Accounted for a potential notice when setting widget ID.
* Updated the `Tested up to tag` to `5.9`.

= 2.16.0 - 04 January 2022 =
* Added a new global `Mobile Widget Bottom Margin` setting.
* Added a new global `Mobile Cell Bottom Margin` setting.
Expand Down

0 comments on commit 386f8e6

Please sign in to comment.