Make WordPress Core

Opened 11 months ago

Last modified 8 months ago

#60284 new enhancement

Add defaultFontSizes option to theme.json

Reported by: ajlende's profile ajlende Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Themes Keywords: has-patch
Focuses: Cc:

Description

Backport changes from Gutenberg to core.

https://github.com/WordPress/gutenberg/pull/56661

Adds a defaultFontSizes option to disable showing the default font sizes.

When defaultFontSizes === false the options are removed from the UI.

By default defaultFontSizes is true.

Change History (5)

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


11 months ago
#1

  • Keywords has-patch added

Backport WordPress/gutenberg#56661.

Adds a defaultFontSizes option to disable showing the default font sizes.

When defaultFontSizes === false the options are removed from the UI.

By default defaultFontSizes is true.

Trac ticket: https://core.trac.wordpress.org/ticket/60284

@youknowriad commented on PR #5896:


11 months ago
#2

Looks like there's some failing unit tests, can we fix these?

@youknowriad commented on PR #5896:


10 months ago
#3

What's the status of this backport @ajlende?

@youknowriad commented on PR #5896:


10 months ago
#4

Closing as this PR has been reverted in Gutenberg.

#5 @poena
8 months ago

Hi, if the Gutenberg change was reverted, should this ticket be closed?
If it should be kept open for a future backport, should it not be moved to the 6.5 milestone?

Note: See TracTickets for help on using tickets.