WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/24/2020 12:57:12 PM (12 months ago)
Author:
youknowriad
Message:

Block Editor: Add the Block Patterns API.

Backport WP_Block_Pattern_Categories_Registry, WP_Block_Patterns_Registry
and block patterns registration functions from the Gutenberg repository.

Props ocean90, ellatrix
Fixes #50445.

File:
1 edited

Legend:

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

    r48072 r48156  
    275275require ABSPATH . WPINC . '/sitemaps/providers/class-wp-sitemaps-users.php';
    276276require ABSPATH . WPINC . '/class-wp-block-type.php';
     277require ABSPATH . WPINC . '/class-wp-block-pattern-categories-registry.php';
     278require ABSPATH . WPINC . '/class-wp-block-patterns-registry.php';
    277279require ABSPATH . WPINC . '/class-wp-block-styles-registry.php';
    278280require ABSPATH . WPINC . '/class-wp-block-type-registry.php';
Note: See TracChangeset for help on using the changeset viewer.