Make WordPress Core

Opened 8 weeks ago

Last modified 17 hours ago

#64334 assigned enhancement

Backport Overlay Template Part Area

Reported by: get_dave's profile get_dave Owned by:
Milestone: 7.0 Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch gutenberg-merge
Focuses: Cc:

Description

This is a placeholder for a backport of the work in this Gutenberg PR

https://github.com/WordPress/gutenberg/pull/73359

As per this workflow https://github.com/WordPress/gutenberg/blob/trunk/backport-changelog/readme.md

Change History (4)

This ticket was mentioned in PR #10692 on WordPress/wordpress-develop by @scruffian.


3 weeks ago
#2

## Summary

Backports the changes from Gutenberg PR https://github.com/WordPress/gutenberg/pull/74444 to rename the navigation overlay template part area.

This PR introduces the WP_TEMPLATE_PART_AREA_NAVIGATION_OVERLAY constant to define a dedicated template part area for navigation overlays, providing more specificity than the generic "overlay" naming.

## Changes

  • Adds new constant WP_TEMPLATE_PART_AREA_NAVIGATION_OVERLAY with value 'navigation-overlay' in src/wp-includes/block-template-utils.php

## Context

The Gutenberg PR renamed the generic "overlay" template part area to "navigation-overlay" for better clarity and specificity. This backport brings that constant definition to WordPress core.

The backport is minimal since WordPress core only needs the PHP constant definition. The JavaScript changes in the Gutenberg PR are bundled with the block library and will be included when the Gutenberg packages are synced to core.

There is an accompanying PR that was an earlier version of this here: https://github.com/WordPress/wordpress-develop/pull/10581

#4 @wildworks
17 hours ago

  • Keywords gutenberg-merge added
Note: See TracTickets for help on using tickets.