diff --git a/wp-includes/block-supports/background.php b/wp-includes/block-supports/background.php index 283833991f..9b82e6a9d5 100644 --- a/wp-includes/block-supports/background.php +++ b/wp-includes/block-supports/background.php @@ -70,13 +70,13 @@ function wp_render_background_support( $block_content, $block ) { return $block_content; } - $background_size = isset( $block_attributes['style']['background']['backgroundSize'] ) + $background_size = isset( $block_attributes['style']['background']['backgroundSize'] ) ? $block_attributes['style']['background']['backgroundSize'] : 'cover'; - $background_position = isset( $block_attributes['style']['background']['backgroundPosition'] ) + $background_position = isset( $block_attributes['style']['background']['backgroundPosition'] ) ? $block_attributes['style']['background']['backgroundPosition'] : null; - $background_repeat = isset( $block_attributes['style']['background']['backgroundRepeat'] ) + $background_repeat = isset( $block_attributes['style']['background']['backgroundRepeat'] ) ? $block_attributes['style']['background']['backgroundRepeat'] : null; diff --git a/wp-includes/version.php b/wp-includes/version.php index 77937a610b..404fa34350 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57364'; +$wp_version = '6.5-alpha-57365'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.