Changeset 56731
- Timestamp:
- 09/27/2023 05:10:28 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/background.php
r56709 r56731 49 49 function wp_render_background_support( $block_content, $block ) { 50 50 $block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] ); 51 $block_attributes = $block['attrs'];51 $block_attributes = ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) ? $block['attrs'] : array(); 52 52 $has_background_image_support = block_has_support( $block_type, array( 'background', 'backgroundImage' ), false ); 53 53
Note: See TracChangeset
for help on using the changeset viewer.