diff --git a/wp-includes/block-supports/background.php b/wp-includes/block-supports/background.php index 8588333432..a8de0c6b63 100644 --- a/wp-includes/block-supports/background.php +++ b/wp-includes/block-supports/background.php @@ -48,7 +48,7 @@ function wp_register_background_support( $block_type ) { */ function wp_render_background_support( $block_content, $block ) { $block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] ); - $block_attributes = $block['attrs']; + $block_attributes = ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) ? $block['attrs'] : array(); $has_background_image_support = block_has_support( $block_type, array( 'background', 'backgroundImage' ), false ); if ( diff --git a/wp-includes/version.php b/wp-includes/version.php index a8a020d425..ea735b0193 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-beta1-56730'; +$wp_version = '6.4-beta1-56731'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.