-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix/wp get global styles for custom props returns internal variable #50366
Fix/wp get global styles for custom props returns internal variable #50366
Commits on May 9, 2023
-
Extract logic that converts internal props to css variables
The logic that converts internal css variables to custom css variables is extracted to a function
Configuration menu - View commit details
-
Copy full SHA for 5a53d35 - Browse repository at this point
Copy the full SHA 5a53d35View commit details -
Configuration menu - View commit details
-
Copy full SHA for de1f077 - Browse repository at this point
Copy the full SHA de1f077View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02fb5c2 - Browse repository at this point
Copy the full SHA 02fb5c2View commit details -
Define gutenberg_get_global_styles and update usages
As of the changes to WP_Theme_JSON_Resolver_Gutenberg, this function had to get defined to keep in sync with core
Configuration menu - View commit details
-
Copy full SHA for b4b0823 - Browse repository at this point
Copy the full SHA b4b0823View commit details -
Configuration menu - View commit details
-
Copy full SHA for b035fb6 - Browse repository at this point
Copy the full SHA b035fb6View commit details -
Add correct since annotation to gutenberg_get_global_styles
Co-authored-by: André <583546+oandregal@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9564374 - Browse repository at this point
Copy the full SHA 9564374View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6b0e78 - Browse repository at this point
Copy the full SHA a6b0e78View commit details -
Remove usage of convert_custom_properties from get_property_value
Since convert_custom_properties is applied in constructor the other methods don't need to apply it again
Configuration menu - View commit details
-
Copy full SHA for a19f470 - Browse repository at this point
Copy the full SHA a19f470View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1250ec9 - Browse repository at this point
Copy the full SHA 1250ec9View commit details -
Simplify sanitize_variables and update usage
Since the data is already checked against the schema sanitize_variables doesn't need to know about the schema anymore
Configuration menu - View commit details
-
Copy full SHA for 5833401 - Browse repository at this point
Copy the full SHA 5833401View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92ed17b - Browse repository at this point
Copy the full SHA 92ed17bView commit details