[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 09:02:25 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  |     Focuses:
------------------------------------+-----------------------
Changes (by audrasjb):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52744" 52744]:
 {{{
 #!CommitTicketReference repository="" revision="52744"
 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.
 Fixes #55178.
 See #55179.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55178#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list