Commit 1083b78a71 for wordpress.org
commit 1083b78a71e6cbcf0066c092fcfb6f73cbade922
Author: joedolson <joedolson@git.wordpress.org>
Date: Mon Nov 2 23:20:53 2026 +0000
Twenty Twenty Three: Move navigation from a hidden to a header pattern.
Hidden patterns and categorized patterns behave differently for extenders, and the previous change prevented content from being inserted into the header. Follow up to [64303].
Developed in https://github.com/WordPress/wordpress-develop/pull/14629.
Props joedolson, mukesh27, peterwilsoncc, codebytom.
Fixes #66195.
Built from https://develop.svn.wordpress.org/trunk@65213
git-svn-id: http://core.svn.wordpress.org/trunk@64362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-content/themes/twentytwentythree/parts/header.html b/wp-content/themes/twentytwentythree/parts/header.html
index 5c0583ecfe..400bc9991d 100644
--- a/wp-content/themes/twentytwentythree/parts/header.html
+++ b/wp-content/themes/twentytwentythree/parts/header.html
@@ -1,14 +1 @@
-<!-- wp:group {"layout":{"type":"constrained"}} -->
-<div class="wp-block-group">
- <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
- <div class="wp-block-group alignwide" style="padding-bottom:var(--wp--preset--spacing--40)">
- <!-- wp:site-title {"level":0} /-->
- <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"left"}} -->
- <div class="wp-block-group">
- <!-- wp:pattern {"slug":"twentytwentythree/hidden-navigation"} /-->
- </div>
- <!-- /wp:group -->
- </div>
- <!-- /wp:group -->
-</div>
-<!-- /wp:group -->
+<!-- wp:pattern {"slug":"twentytwentythree/header"} /-->
diff --git a/wp-content/themes/twentytwentythree/patterns/header.php b/wp-content/themes/twentytwentythree/patterns/header.php
new file mode 100644
index 0000000000..f219d0ffab
--- /dev/null
+++ b/wp-content/themes/twentytwentythree/patterns/header.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Title: Header
+ * Slug: twentytwentythree/header
+ * Categories: header
+ * Description: Site header with site title and navigation.
+ *
+ * @package WordPress
+ * @subpackage Twenty_Twenty_Three
+ * @since Twenty Twenty-Three 1.8
+ */
+
+?>
+
+<!-- wp:group {"layout":{"type":"constrained"}} -->
+<div class="wp-block-group">
+ <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
+ <div class="wp-block-group alignwide" style="padding-bottom:var(--wp--preset--spacing--40)">
+ <!-- wp:site-title {"level":0} /-->
+ <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"left"}} -->
+ <div class="wp-block-group">
+ <!-- wp:navigation {"ariaLabel":"<?php esc_attr_e( 'Primary', 'twentytwentythree' ); ?>","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} /-->
+ </div>
+ <!-- /wp:group -->
+ </div>
+ <!-- /wp:group -->
+</div>
+<!-- /wp:group -->
diff --git a/wp-content/themes/twentytwentythree/patterns/hidden-navigation.php b/wp-content/themes/twentytwentythree/patterns/hidden-navigation.php
deleted file mode 100644
index 2c20fabf80..0000000000
--- a/wp-content/themes/twentytwentythree/patterns/hidden-navigation.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-/**
- * Title: Hidden Navigation
- * Slug: twentytwentythree/hidden-navigation
- * Inserter: no
- *
- * @package WordPress
- * @subpackage Twenty_Twenty_Three
- * @since Twenty Twenty-Three 1.8
- */
-
-?>
-
-<!-- wp:navigation {"ariaLabel":"<?php esc_attr_e( 'Primary', 'twentytwentythree' ); ?>","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} /-->
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 0a8d6fec65..e71adbc2a0 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-beta3-65212';
+$wp_version = '7.2-beta3-65213';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.