Closed ojohnny closed 2 years ago
Fixed:
$attributes
@ojohnny @pristas-peter this is actually breaking something. At least in PHP 7.4 the innerBlocks attributes are empty.
Before
After
Fixed:
$attributes
with nested arrays threw TypeError in PHP 8.0, this was a warning in PHP 7.4. Fixed by converting nested arrays to objects as well.