Make WordPress Core


Ignore:
Timestamp:
09/20/2022 01:10:28 PM (4 years ago)
Author:
audrasjb
Message:

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:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r54156 r54251  
    173173require ABSPATH . WPINC . '/class-wp-theme.php';
    174174require ABSPATH . WPINC . '/class-wp-theme-json-schema.php';
     175require ABSPATH . WPINC . '/class-wp-theme-json-data.php';
    175176require ABSPATH . WPINC . '/class-wp-theme-json.php';
    176177require ABSPATH . WPINC . '/class-wp-theme-json-resolver.php';
Note: See TracChangeset for help on using the changeset viewer.