-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Backport theme.json version 3 migrations #6616
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
Closed
ajlende
wants to merge
27
commits into
WordPress:trunk
from
ajlende:backport/theme-json-v3-migrations
Closed
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
668c31e
Backport 58409 class-wp-theme-json.php
ajlende 4c02184
Backport 58409 class-wp-theme-json-schema.php
ajlende a4e24a0
Backport 58409 class-wp-theme-json-data.php
ajlende 4696b35
Backport 58409 class-wp-theme-json-resolver.php
ajlende 97a24e0
Backport 58409 theme.json
ajlende 719a4bd
Backport 58409 PHPUnit wpThemeJsonSchema.php
ajlende 9a0e4b4
Backport 58409 PHPUnit wpThemeJson.php
ajlende 915f254
Backport 58409 PHPUnit rest-global-styles-controller.php
ajlende 2f9b431
Backport 58409 PHPUnit data
ajlende 3769e79
Backport 61842 class-wp-theme-json.php
ajlende dc57d38
Backport 61842 class-wp-theme-json-resolver.php
ajlende 943d9bb
Backport 61842 class-wp-theme-json-schema.php
ajlende 0a33eb1
Backport 61842 theme.json
ajlende 35695f2
Backport 61842 PHPUnit wpThemeJsonSchema.php
ajlende 7599a7f
Backport 61842 PHPUnit wpThemeJson.php
ajlende ca161da
Merge 6.6 `@since` tags
ajlende caaeb72
Update LATEST_THEME_JSON_VERSION_SUPPORTED in font-faces controller
ajlende 6569a11
Add default-font-sizes options for classic themes
ajlende d073251
Add default-spacing-sizes options for classic themes
ajlende 93e3c82
Add editor-spacing-sizes for consistency
ajlende ea23bf0
Update LATEST_THEME_JSON_VERSION_SUPPORTED in font-families controller
ajlende afe235e
Fix phpunit tests
ajlende 1b583a1
Update wp-api-generated
ajlende 1e93db4
Added 6.6.0 doc comments
ajlende c8cdcc1
register_theme_feature( 'editor-spacing-sizes' )
ajlende 5214e4f
Copy spacingSizes from editor-spacing-sizes
ajlende 6b6d2b6
Fix tests
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
Copy spacingSizes from editor-spacing-sizes
- Loading branch information
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As with above, you might get away with setting the value on the array you wish to create, e.g., only
$theme_settings['settings']['spacing']['spacingSizes'] = $settings['spacingSizes'];