diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/block-supports/align.php --- a/wp/wp-includes/block-supports/align.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-includes/block-supports/align.php Fri Sep 05 18:40:08 2025 +0200 @@ -15,7 +15,7 @@ * @param WP_Block_Type $block_type Block Type. */ function wp_register_alignment_support( $block_type ) { - $has_align_support = block_has_support( $block_type, array( 'align' ), false ); + $has_align_support = block_has_support( $block_type, 'align', false ); if ( $has_align_support ) { if ( ! $block_type->attributes ) { $block_type->attributes = array(); @@ -43,7 +43,7 @@ */ function wp_apply_alignment_support( $block_type, $block_attributes ) { $attributes = array(); - $has_align_support = block_has_support( $block_type, array( 'align' ), false ); + $has_align_support = block_has_support( $block_type, 'align', false ); if ( $has_align_support ) { $has_block_alignment = array_key_exists( 'align', $block_attributes );