Make WordPress Core

Changeset 48159


Ignore:
Timestamp:
06/25/2020 05:14:43 AM (4 years ago)
Author:
gziolo
Message:

Editor: Introduce WP_Block and WP_Block_List classes

Backports functionality added in Gutenberg in the following PRs:

It's a few ideas related to block rendering and the provided block value, which is particularly impactful for work around block context.

Props aduth, TimothyBJacobs, noisysocks, epiqueras, youknowriad, talldanwp, zebulan.
Fixes #49926.

Location:
trunk
Files:
4 added
1 edited

Legend:

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

    r48156 r48159  
    279279require ABSPATH . WPINC . '/class-wp-block-styles-registry.php';
    280280require ABSPATH . WPINC . '/class-wp-block-type-registry.php';
     281require ABSPATH . WPINC . '/class-wp-block.php';
     282require ABSPATH . WPINC . '/class-wp-block-list.php';
    281283require ABSPATH . WPINC . '/class-wp-block-parser.php';
    282284require ABSPATH . WPINC . '/blocks.php';
Note: See TracChangeset for help on using the changeset viewer.