From 5f80467f2562d52b9fb215d86b6a2deb6a1b8813 Mon Sep 17 00:00:00 2001 From: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Date: Tue, 2 Jan 2024 16:57:07 +1100 Subject: [PATCH] Fix linting issue --- src/wp-includes/block-supports/background.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/block-supports/background.php b/src/wp-includes/block-supports/background.php index 3b751689d0d36..dd2fef10c4027 100644 --- a/src/wp-includes/block-supports/background.php +++ b/src/wp-includes/block-supports/background.php @@ -69,7 +69,7 @@ function wp_render_background_support( $block_content, $block ) { $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'] )