-
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
Try: bundle the WP_Theme_JSON_Resolver
class instead of inheriting per WordPress version
#46750
Commits on Dec 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 96c0239 - Browse repository at this point
Copy the full SHA 96c0239View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13185e2 - Browse repository at this point
Copy the full SHA 13185e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f5ad2d - Browse repository at this point
Copy the full SHA 1f5ad2dView commit details -
Rename WP_Theme_JSON_Resolver to WP_Theme_JSON_Resolver_Base
The goal is to use it as base to inherit from, until we are able to remove all the children.
Configuration menu - View commit details
-
Copy full SHA for fa996f4 - Browse repository at this point
Copy the full SHA fa996f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6e00ce - Browse repository at this point
Copy the full SHA a6e00ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd03602 - Browse repository at this point
Copy the full SHA bd03602View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d13fa9 - Browse repository at this point
Copy the full SHA 3d13fa9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2d54a4 - Browse repository at this point
Copy the full SHA e2d54a4View commit details -
Missed core changes and does not do anything differently from core.
Configuration menu - View commit details
-
Copy full SHA for 1f0ca1d - Browse repository at this point
Copy the full SHA 1f0ca1dView commit details -
6.1: remove get_user_data_from_wp_global_styles
It misses core changes and does not do anything differently.
Configuration menu - View commit details
-
Copy full SHA for 7f48e7d - Browse repository at this point
Copy the full SHA 7f48e7dView commit details -
6.2: inherit from WP_Theme_JSON_Resolver_Base instead of 6.1
This makes the WP_Theme_JSON_Resover_6_1 class unused.
Configuration menu - View commit details
-
Copy full SHA for 6858a77 - Browse repository at this point
Copy the full SHA 6858a77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 811fc7d - Browse repository at this point
Copy the full SHA 811fc7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4c6c01 - Browse repository at this point
Copy the full SHA f4c6c01View commit details -
6.2: substitute WP_Theme_JSON_Resolver::theme_has_support
by wp_theme_has_theme_json() #45168
Configuration menu - View commit details
-
Copy full SHA for fc639bc - Browse repository at this point
Copy the full SHA fc639bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe37493 - Browse repository at this point
Copy the full SHA fe37493View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5bdc76 - Browse repository at this point
Copy the full SHA a5bdc76View commit details -
Same code as core. There's a check for detecting whether the class is an instance of WP_Theme_JSON_Gutenberg that was not ported. This check was introduced to make sure the cache of the core class didn't interfere with the cache of the Gutenberg class, so it's no longer necessary. See #42756
Configuration menu - View commit details
-
Copy full SHA for 897c355 - Browse repository at this point
Copy the full SHA 897c355View commit details -
Configuration menu - View commit details
-
Copy full SHA for edf3fb0 - Browse repository at this point
Copy the full SHA edf3fb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for afb4aa0 - Browse repository at this point
Copy the full SHA afb4aa0View commit details -
experimental: delete remove_json_comments
It's already part of the base class.
Configuration menu - View commit details
-
Copy full SHA for 486162d - Browse repository at this point
Copy the full SHA 486162dView commit details -
experimental: remove get_block_data
It's already part of the base class and it didn't have the changes from core.
Configuration menu - View commit details
-
Copy full SHA for 6551ec8 - Browse repository at this point
Copy the full SHA 6551ec8View commit details -
Port changes to the base class that were meant to be part of 6.1. See #43337
Configuration menu - View commit details
-
Copy full SHA for 31e4b00 - Browse repository at this point
Copy the full SHA 31e4b00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26bf599 - Browse repository at this point
Copy the full SHA 26bf599View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78c51b3 - Browse repository at this point
Copy the full SHA 78c51b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f18b7b8 - Browse repository at this point
Copy the full SHA f18b7b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9335dbc - Browse repository at this point
Copy the full SHA 9335dbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e1336a - Browse repository at this point
Copy the full SHA 9e1336aView commit details -
Fix lint issue: rename class-wp-theme-json-resolver.php to class-wp-t…
…heme-json-resolver-gutenberg.php
Configuration menu - View commit details
-
Copy full SHA for 1b16af4 - Browse repository at this point
Copy the full SHA 1b16af4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9938731 - Browse repository at this point
Copy the full SHA 9938731View commit details -
Configuration menu - View commit details
-
Copy full SHA for 703ccaf - Browse repository at this point
Copy the full SHA 703ccafView commit details