[wp-trac] [WordPress Trac] #64123: Patterns: add the pattern name to pattern blocks when they are converted
WordPress Trac
noreply at wordpress.org
Thu Feb 12 03:12:21 UTC 2026
#64123: Patterns: add the pattern name to pattern blocks when they are converted
--------------------------------------+-------------------------
Reporter: ramonopoly | Owner: ramonopoly
Type: enhancement | Status: closed
Priority: normal | Milestone: 7.0
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-------------------------
Changes (by ramonopoly):
* owner: (none) => ramonopoly
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"61617" 61617]:
{{{
#!CommitTicketReference repository="" revision="61617"
Patterns: Add the pattern name to pattern blocks when they are converted
Modifies the `resolve_pattern_blocks` function to include metadata for
single-root patterns, allowing the pattern `name`, `description`,
categories` metadata to be stored in the block attributes.
This enables identification of patterns within templates in the block
editor for the purposes of the pattern editing functionality.
Props ramonopoly, andrewserong, talldanwp, westonruter, scruffian,
huzaifaalmesbah, audrasjb.
Fixes #64123.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64123#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list