[wp-trac] [WordPress Trac] #54640: Backport: Add support for nameless font sizes
WordPress Trac
noreply at wordpress.org
Tue Dec 21 06:00:48 UTC 2021
#54640: Backport: Add support for nameless font sizes
---------------------------------------------+-----------------------------
Reporter: ntsekouras | Owner: hellofromTonya
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9
Component: Editor | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-----------------------------
Changes (by hellofromTonya):
* owner: (none) => hellofromTonya
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"52401" 52401]:
{{{
#!CommitTicketReference repository="" revision="52401"
Editor: Add support for nameless font sizes in `WP_Theme_JSON`.
With nameless font sizes support, themes use the defaults by not declaring
the `"name"` setting for their `fontSizes` in `theme.json`.
Backport from Gutenberg https://github.com/WordPress/gutenberg/pull/37410.
Follow-up to [50973], [52049], [52275], [52320].
Props ntsekouras, costdev, hellofromTonya.
Fixes #54640. See #54487.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54640#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list