Skip to content

Commit

Permalink
Merge branch 'release/2.16.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
Misplon committed Mar 23, 2022
2 parents 9d561e4 + fe3c38c commit c68014a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion inc/css-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function add_css( $selector, $attributes, $resolution = 1920 ) {
if ( ! strlen( (string) $v[ $i ] ) ) continue;
$attribute_string[] = wp_strip_all_tags( $k ) . ':' . wp_strip_all_tags( $v[ $i ] );
}
} elseif ( ! strlen( (string) $v ) || $v == 'px' ) {
} elseif ( ! strlen( (string) $v ) || $v === 'px' ) {
continue;
} else {
$attribute_string[] = wp_strip_all_tags( $k ) . ':' . wp_strip_all_tags( $v );
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ SiteOrigin Premium includes access to our professional email support service, pe

== Changelog ==

= 2.16.7 - 23 March 2022 =
* Improved empty CSS rule check to avoid potential edge cases.

= 2.16.6 - 21 March 2022 =
* Prevented CSS properties outputting with only `px` set as the value.
* WPML: Refined sidebar emulator language path removal.
Expand Down

0 comments on commit c68014a

Please sign in to comment.