From 384f94d6ed1420857e8a1195d55d4b0a565eaf9a Mon Sep 17 00:00:00 2001 From: jorgefilipecosta Date: Fri, 26 Jan 2024 17:53:15 +0000 Subject: [PATCH] Coding Standards: Fix some spaces on block-supports background. When we run composer format these changes are applied so I guess we should just commit them to avoid seeing the changes again the future. Built from https://develop.svn.wordpress.org/trunk@57365 git-svn-id: http://core.svn.wordpress.org/trunk@56871 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/block-supports/background.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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.