Opened 8 weeks ago
Last modified 17 hours ago
#64334 assigned enhancement
Backport Overlay Template Part Area
| Reported by: |
|
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 #10581 on WordPress/wordpress-develop by @get_dave.
8 weeks ago
#1
- Keywords has-patch added
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_OVERLAYwith value'navigation-overlay'insrc/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
@scruffian commented on PR #10581:
3 weeks ago
#3
I think we can close this in favour of https://github.com/WordPress/wordpress-develop/pull/10692/
Backport of https://github.com/WordPress/gutenberg/pull/73359
Trac ticket: https://core.trac.wordpress.org/ticket/64334#ticket