Skip to content

Commit b271288

Browse files
Merge branch 'master' of github.com:bernskioldmedia/Block-Plugin-Support
# Conflicts: # CHANGELOG.md
2 parents 89b559b + 0534cf4 commit b271288

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@ All notable changes to this project will be documented in this file. This projec
44

55
## [Unreleased]
66

7-
## [1.4.2] - 2021-05-30
7+
## [1.4.3] - 2021-05-30
88

99
### Added
1010

1111
- Support for PHP 8.
1212

13+
## [1.4.2] - 2021-05-06
14+
15+
### Fixed
16+
17+
- Anchor wasn't being applied to section wrappers
18+
1319
## [1.4.1] - 2021-03-05
1420

1521
### Fixed

src/Section.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,8 @@ public static function render( $attributes ) {
231231
$styles[] = 'background-position: ' . static::focalpoint_to_background_position( $attributes['backgroundImageFocalPoint'] ) . ';';
232232
}
233233

234-
$args = [
235-
'class' => implode( ' ', $classes ),
236-
'style' => implode( ' ', $styles ),
237-
];
234+
$args['class'] = \implode(' ', $classes);
235+
$args['style'] = \implode(' ', $styles);
238236

239237
$wrapper_attributes = static::get_block_wrapper_attributes( $attributes, $args );
240238

0 commit comments

Comments
 (0)