Make WordPress Core

Changeset 52548


Ignore:
Timestamp:
01/10/2022 05:57:40 PM (2 years ago)
Author:
jorgefilipecosta
Message:

Fix: WordPress default presets aren't loaded for all themes.

The default preset styles of WordPress (font sizes, colors, gradients) are now provided via the global stylesheet to avoid duplication of styles. This stylesheet can be found in the front-end with the name global-styles-inline-css.
The default presets are important to support old content that may use them and also patterns, that can use cross-theme styles.

Props oandregal.
Merges [52547] to the 5.9 branch.
Fixes #54781.

Location:
branches/5.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.