[wp-trac] [WordPress Trac] #55178: Allow fully extending WP_Theme_JSON and WP_Theme_JSON_Resolver classes
WordPress Trac
noreply at wordpress.org
Thu Feb 17 11:13:23 UTC 2022
#55178: Allow fully extending WP_Theme_JSON and WP_Theme_JSON_Resolver classes
------------------------------------------------+-----------------------
Reporter: Mamaduka | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9.1
Component: Themes | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback fixed-major | Focuses:
------------------------------------------------+-----------------------
Changes (by audrasjb):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"52746" 52746]:
{{{
#!CommitTicketReference repository="" revision="52746"
Themes: Allow extending `WP_Theme_JSON` and `WP_Theme_JSON_Resolver`
classes.
This change updates methods visibility from `private` to `protected` and
adds late static binding.
Original PRs from Gutenberg repository:
- https://github.com/WordPress/gutenberg/pull/38625
- https://github.com/WordPress/gutenberg/pull/38671
Props oandregal, Mamaduka, kapilpaul.
Merges [52744] to the 5.9 branch.
Fixes #55178.
See #55179.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55178#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list