Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/block-library/src/post-featured-image/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ function get_block_core_post_featured_image_border_attributes( $attributes ) {

$border_attributes = gutenberg_style_engine_get_styles( array( 'border' => $border_styles ) );
return array(
'class' => $border_attributes['classnames'],
'style' => $border_attributes['css'],
'class' => array_key_exists( 'classnames', $border_attributes ) ? $border_attributes['classnames'] : '',
'style' => array_key_exists( 'css', $border_attributes ) ? $border_attributes['css'] : '',
);
}

Expand Down