Commit 22b4ba4d1d for wordpress.org
commit 22b4ba4d1d2e3979252c548612863c6ab91e38d9
Author: wildworks <wildworks@git.wordpress.org>
Date: Thu Dec 3 08:08:03 2026 +0000
Editor: Add space-around and space-evenly flex justification
Horizontal flex layouts now accept the `space-around` and `space-evenly` justification values, so blocks that use them render correctly.
Developed in https://github.com/WordPress/wordpress-develop/pull/13710
Props sukhendu2002, wildworks.
Fixes #66172.
Built from https://develop.svn.wordpress.org/trunk@65877
git-svn-id: http://core.svn.wordpress.org/trunk@64906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/block-supports/layout.php b/wp-includes/block-supports/layout.php
index 855b01764d..dd6f7182a4 100644
--- a/wp-includes/block-supports/layout.php
+++ b/wp-includes/block-supports/layout.php
@@ -765,7 +765,11 @@ function wp_get_layout_style( $selector, $layout, $has_block_gap_support = false
);
if ( 'horizontal' === $layout_orientation ) {
- $justify_content_options += array( 'space-between' => 'space-between' );
+ $justify_content_options += array(
+ 'space-between' => 'space-between',
+ 'space-around' => 'space-around',
+ 'space-evenly' => 'space-evenly',
+ );
$vertical_alignment_options += array( 'stretch' => 'stretch' );
} else {
$justify_content_options += array( 'stretch' => 'stretch' );
diff --git a/wp-includes/version.php b/wp-includes/version.php
index a58135ea0d..0e553b0686 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.3-alpha-65876';
+$wp_version = '7.3-alpha-65877';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.