Make WordPress Core

Opened 9 months ago

Closed 7 months ago

Last modified 6 months ago

#64334 closed enhancement (fixed)

Backport Overlay Template Part Area

Reported by: get_dave Owned by:
Priority: normal Milestone: 7.0
Component: Editor Version:
Severity: normal Keywords: has-patch gutenberg-merge add-to-field-guide needs-dev-note
Cc: Focuses:

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 (9)

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


8 months 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
7 months ago

  • Keywords gutenberg-merge added

#7 @mikachan
7 months ago

  • Resolutionfixed
  • Status assignedclosed

#8 @audrasjb
6 months ago

  • Keywords add-to-field-guide needs-dev-note added

This is worth mentioning in the Field Guide.
Also adding needs-dev-note just in case we can mention it in a more general note.

Note: See TracTickets for help on using tickets.