[wp-trac] [WordPress Trac] #61312: Add section styling via extended block style variations
WordPress Trac
noreply at wordpress.org
Mon Jun 24 08:50:09 UTC 2024
#61312: Add section styling via extended block style variations
-------------------------------------------------+-------------------------
Reporter: aaronrobertshaw | Owner:
| aaronrobertshaw
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.6
Component: Editor | Version: trunk
Severity: normal | Resolution: fixed
Keywords: gutenberg-merge has-unit-tests | Focuses:
needs-patch | performance
-------------------------------------------------+-------------------------
Comment (by oandregal):
In [changeset:"58466" 58466]:
{{{
#!CommitTicketReference repository="" revision="58466"
Section styles: improve performance and conceptual consistency.
These changes involve:
- Move shared variation definitions from styles.blocks.variations to
styles.variations
- Remove blockTypes from styles.variations.
- Do not register shared variations from theme style variation or primary
theme.json files.
- Move the merging of theme.json data into the WP_Theme_JSON_Resolver and
WP_Theme_JSON classes.
These changes improve performance and are more future-proof API wise.
See conversation at https://github.com/WordPress/gutenberg/issues/62686
Props aaronrobertshaw, oandregal, andrewserong, joemcgill, talldanwp,
andrewserong, ramonopoly, richtabor, youknowriad.
See #61312, #61451.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61312#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list