[wp-trac] [WordPress Trac] #56467: Update @wordpress packages and backport changes from Gutenberg plugin into Core

WordPress Trac noreply at wordpress.org
Tue Sep 20 13:10:51 UTC 2022


#56467: Update @wordpress packages and backport changes from Gutenberg plugin into
Core
--------------------------------------+------------------------------
 Reporter:  Bernhard Reiter           |       Owner:  Bernhard Reiter
     Type:  task (blessed)            |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.1
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by audrasjb):

 In [changeset:"54251" 54251]:
 {{{
 #!CommitTicketReference repository="" revision="54251"
 Editor: Backport hooks to filter `theme.json` data from Gutenberg to 6.1.

 This changeset ports the work done in Gutenberg (released in 14.1) to add
 hooks to filter the `theme.json` data. Specifically, it adds the following
 filters: `theme_json_default`, `theme_json_blocks`, `theme_json_theme`,
 and `theme_json_user`.

 For more details, see the following Gutenberg pull requests:

 - [https://github.com/WordPress/gutenberg/pull/44015 gutenberg#44015]:
 Make global styles data filterable
 - [https://github.com/WordPress/gutenberg/pull/44109 gutenberg#44109]:
 Prepare `WP_Theme_JSON_Data` class for backporting
 - [https://github.com/WordPress/gutenberg/pull/44159 gutenberg#44159]:
 Update hook's names from `global_styles_*` to `theme_json_*`

 Props oandregal, czapla, gziolo, bernhard-reiter.
 See #56467.
 }}}

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


More information about the wp-trac mailing list