WP_REST_Global_Styles_Revisions_Controller
is missing the usual REST API filters
#68327
Labels
WP_REST_Global_Styles_Revisions_Controller
is missing the usual REST API filters
#68327
What problem does this address?
It’s unclear whether this is intentional or an oversight, but the
WP_REST_Global_Styles_Revisions_Controller
controller class is missing the usual WordPress REST filters, such asrest_revision_query
andrest_prepare_revision
.These filters could use unique names, like
rest_global_styles_query
and so on.What is your proposed solution?
Add these filters to the
WP_REST_Global_Styles_Revisions_Controller
class and backport the changes to WordPress Core.The text was updated successfully, but these errors were encountered: