-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Block Support: Add height block support feature #32499
Closed
Closed
Commits on Feb 18, 2022
-
Add height dimensions block support
After the release of 5.9, the theme.json php class related changes will be added via a separate isolated commit.
Configuration menu - View commit details
-
Copy full SHA for e294e91 - Browse repository at this point
Copy the full SHA e294e91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74d8124 - Browse repository at this point
Copy the full SHA 74d8124View commit details -
New settings (works in WordPress 5.9)
Rename wp_get_global_settings to gutenberg_get_global_settings. In WordPress 5.9 the wp_* function is already defined, so we can't override them. It's calling the existing WP_Theme_JSON classes in WordPress core so it won't pick up the plugin modification. In the plugin, to make sure these changes work fine in 5.9 as well, we need to use the gutenberg_* function instead.
Configuration menu - View commit details
-
Copy full SHA for a457e8e - Browse repository at this point
Copy the full SHA a457e8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d0b11e - Browse repository at this point
Copy the full SHA 8d0b11eView commit details -
Fix for WordPress 5.9: gutenberg_get_global_stylesheet should call th…
…e Gutenberg classes
Configuration menu - View commit details
-
Copy full SHA for fbc677d - Browse repository at this point
Copy the full SHA fbc677dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4b286b - Browse repository at this point
Copy the full SHA c4b286bView commit details -
Move functions to the compat/6.0 folder
While this PR does not do any behavioral change, we still need to call the plugin clasess when the minimum plugin version is 5.9 (at which point, the compat/5.9 is removed).
Configuration menu - View commit details
-
Copy full SHA for 34f96ed - Browse repository at this point
Copy the full SHA 34f96edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0023551 - Browse repository at this point
Copy the full SHA 0023551View commit details
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.