Make WordPress Core


Ignore:
Timestamp:
05/24/2021 08:36:11 AM (2 years ago)
Author:
youknowriad
Message:

Block Editor: Add Global Settings support using theme.json file.

This is the first piece of landing the theme.json processing in WordPress core.
It allows themes to configure the different editor settings, allow cusomizations and define presets in theme.json file.

Props jorgefilipecosta, nosolosw.
See #53175.

File:
1 edited

Legend:

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

    r50956 r50959  
    296296require ABSPATH . WPINC . '/blocks.php';
    297297require ABSPATH . WPINC . '/blocks/index.php';
     298require ABSPATH . WPINC . '/class-wp-theme-json.php';
     299require ABSPATH . WPINC . '/class-wp-theme-json-resolver.php';
    298300require ABSPATH . WPINC . '/block-editor.php';
    299301require ABSPATH . WPINC . '/block-patterns.php';
Note: See TracChangeset for help on using the changeset viewer.