Changeset 61609
- Timestamp:
- 02/10/2026 04:36:25 PM (7 weeks ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 5 added
- 2 edited
-
block-patterns.php (modified) (2 diffs)
-
block-patterns/navigation-overlay-accent-bg.php (added)
-
block-patterns/navigation-overlay-black-bg.php (added)
-
block-patterns/navigation-overlay-centered-with-extras.php (added)
-
block-patterns/navigation-overlay-centered.php (added)
-
block-patterns/navigation-overlay.php (added)
-
block-template-utils.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-patterns.php
r61348 r61609 80 80 'query-large-title-posts', 81 81 'query-offset-posts', 82 'navigation-overlay', 83 'navigation-overlay-black-bg', 84 'navigation-overlay-accent-bg', 85 'navigation-overlay-centered', 86 'navigation-overlay-centered-with-extras', 82 87 ); 83 88 … … 227 232 'label' => _x( 'Headers', 'Block pattern category' ), 228 233 'description' => __( 'A variety of header designs displaying your site title and navigation.' ), 234 ) 235 ); 236 register_block_pattern_category( 237 'navigation', 238 array( 239 'label' => _x( 'Navigation', 'Block pattern category' ), 240 'description' => __( 'A variety of designs displaying site navigation.' ), 229 241 ) 230 242 ); -
trunk/src/wp-includes/block-template-utils.php
r61431 r61609 19 19 if ( ! defined( 'WP_TEMPLATE_PART_AREA_UNCATEGORIZED' ) ) { 20 20 define( 'WP_TEMPLATE_PART_AREA_UNCATEGORIZED', 'uncategorized' ); 21 } 22 if ( ! defined( 'WP_TEMPLATE_PART_AREA_NAVIGATION_OVERLAY' ) ) { 23 define( 'WP_TEMPLATE_PART_AREA_NAVIGATION_OVERLAY', 'navigation-overlay' ); 21 24 } 22 25 … … 96 99 'icon' => 'footer', 97 100 'area_tag' => 'footer', 101 ), 102 array( 103 'area' => WP_TEMPLATE_PART_AREA_NAVIGATION_OVERLAY, 104 'label' => _x( 'Navigation Overlay', 'template part area' ), 105 'description' => __( 106 'The Navigation Overlay template defines a full-screen overlay area that typically contains navigation links and can be toggled on and off.' 107 ), 108 'icon' => 'overlay', 109 'area_tag' => 'div', 98 110 ), 99 111 );
Note: See TracChangeset
for help on using the changeset viewer.