[wp-trac] [WordPress Trac] #55178: Allow fully extending WP_Theme_JSON and WP_Theme_JSON_Resolver classes
WordPress Trac
noreply at wordpress.org
Wed Feb 16 10:58:36 UTC 2022
#55178: Allow fully extending WP_Theme_JSON and WP_Theme_JSON_Resolver classes
--------------------------+-----------------------------
Reporter: Mamaduka | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Allow fully extending `WP_Theme_JSON` and `WP_Theme_JSON_Resolver`
classes.
This requires changing method visibility from `private` to `protected` and
using late static binding.
Original PRs from Gutenberg repo:
* https://github.com/WordPress/gutenberg/pull/38625
* https://github.com/WordPress/gutenberg/pull/38671
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55178>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list