diff -r 48c4eec2b7e6 -r 8c2e4d02f4ef wp/wp-includes/class-wp-block-supports.php --- a/wp/wp-includes/class-wp-block-supports.php Fri Sep 05 18:40:08 2025 +0200 +++ b/wp/wp-includes/class-wp-block-supports.php Fri Sep 05 18:52:52 2025 +0200 @@ -104,7 +104,7 @@ } $block_attributes = array_key_exists( 'attrs', self::$block_to_render ) && is_array( self::$block_to_render['attrs'] ) - ? self::$block_to_render['attrs'] + ? $block_type->prepare_attributes_for_render( self::$block_to_render['attrs'] ) : array(); $output = array(); @@ -181,7 +181,7 @@ // This is hardcoded on purpose. // We only support a fixed list of attributes. - $attributes_to_merge = array( 'style', 'class', 'id' ); + $attributes_to_merge = array( 'style', 'class', 'id', 'aria-label' ); $attributes = array(); foreach ( $attributes_to_merge as $attribute_name ) { if ( empty( $new_attributes[ $attribute_name ] ) && empty( $extra_attributes[ $attribute_name ] ) ) {