Make WordPress Core

Opened 5 weeks ago

Closed 5 weeks ago

Last modified 5 weeks ago

#54640 closed defect (bug) (fixed)

Backport: Add support for nameless font sizes

Reported by: ntsekouras Owned by: hellofromTonya
Milestone: 5.9 Priority: normal
Severity: normal Version: trunk
Component: Editor Keywords: has-patch has-unit-tests commit
Focuses: Cc:


We need to backport the recent changes from this Gutenberg PR: https://github.com/WordPress/gutenberg/pull/37410

Change History (5)

This ticket was mentioned in PR #2061 on WordPress/wordpress-develop by ntsekouras.

5 weeks ago

  • Keywords has-patch has-unit-tests added

#2 @costdev
5 weeks ago

  • Milestone changed from Awaiting Review to 5.9
  • Version set to trunk

Moving to 5.9 Milestone for visibility.

#3 @hellofromTonya
5 weeks ago

  • Keywords commit added

Marking PR 2061 for commit. It's a Gutenberg backport from https://github.com/WordPress/gutenberg/pull/37410.

#4 @hellofromTonya
5 weeks ago

  • Owner set to hellofromTonya
  • Resolution set to fixed
  • Status changed from new to closed

In 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.

Note: See TracTickets for help on using tickets.