-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add defaultFontSizes theme.json (theme.json v3) #58409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
b2e4137
Add defaultFontSizes option to theme.json (#56661)
ajlende 3b79149
Add migration for theme.json v2 to v3
ajlende 71f2514
Use 'merge' to mimic old behavior
ajlende c02d54c
WIP
ajlende b2e9522
Fix PHP lint
ajlende 365b9a8
Simplify logic
ajlende 11e69f1
Tidy up comments
ajlende 6a50fa6
Revert phpunit for now
ajlende 1fb673f
Optimize prevent_override logic
ajlende 9b0147a
preset -> preset_metadata
ajlende 59c93c3
Bump core theme.json version
ajlende 37d5910
Bump theme.json version in schema
ajlende 5abb4e5
Reimplement old logic for "merge" value
ajlende 6fcb936
Remove uniqByProperty
ajlende a0488fe
Fix WP_Theme_JSON_Gutenberg_Test failures
ajlende c60fb1c
Update WP_Theme_JSON_Schema_Gutenberg_Test with new migration
ajlende f26f484
Update migration docs
ajlende 4e8dd5e
Update phpunit theme fixtures
ajlende 4f36ed0
Try fixing WP_REST_Global_Styles_Controller_Gutenberg_Test failure
ajlende 0ca202a
Fix PHP lint
ajlende ed2ec35
Default missing theme.json to latest schema
ajlende 3e6aafd
Fix living docs title
ajlende e4d41f9
Refactor typography-panel a bit
ajlende 6136799
Fix docs manifest
ajlende 5148bf4
Clarify migration docs
ajlende c6bf672
Revert "Remove uniqByProperty"
ajlende 044a6f9
Fix getUniqueFontSizesBySlug
ajlende 3d2f8df
Update default schema elsewhere
ajlende 78c55b9
Order the presets default, theme, custom
ajlende 7f0577a
Reword the theme.json v2 backwards compatibility comment
ajlende cc530d6
Update rest controller test theme
ajlende b2c3882
PHP Lint
ajlende 1105ad2
Update a few more theme.json files for tests
ajlende 10081c1
Merge branch 'trunk' into fix/default-font-sizes-override
ajlende 214e8f3
Remove the merge keyword that is no longer needed since #58951
ajlende 84d3b5d
Merge branch 'trunk' into fix/default-font-sizes-override
ajlende d7e80e6
Merge branch 'trunk' into fix/default-font-sizes-override
ajlende 1a7da7f
Merge branch 'trunk' into fix/default-font-sizes-override
ajlende b0cff00
Hacky way to fix DB save issues
ajlende a0e0831
Use $new instead of $old
ajlende 14f4ae2
Skip defaultFontSizes migration for custom origin theme.json files
ajlende cdfd751
Merge branch 'trunk' into fix/default-font-sizes-override
ajlende 70cccb7
Merge branch 'trunk' into fix/default-font-sizes-override
ajlende 0472561
Fix missing textAlign in docs from merge
ajlende 1dc4715
Remove empty line change
ajlende 35e8eb8
Fix user styles not migrating correctly
ajlende a46414a
Reorder font size dropdown
ajlende d494c2e
Only run migration on themes with font sizes defined
ajlende 930f297
Add more details to comment
ajlende ec14150
Ensure isGlobalStylesUserThemeJSON is set for migrations
ajlende e4459f0
Update tests since skipping for missing font sizes
ajlende b971b6e
Fix phpcs
ajlende c0db46c
Update migration docs
ajlende 52bb2ca
Merge branch 'trunk' into fix/default-font-sizes-override
ajlende File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.