Make WordPress Core


Ignore:
Timestamp:
11/08/2021 11:09:53 PM (3 years ago)
Author:
noisysocks
Message:

Editor: Add block theme infrastructure

Adds the required infrastructure to render block-based themes. This is sourced
from the Gutenberg plugin.

Fixes #54335.
Props bernhard-reiter, youknowriad, ntsekouras, hellofromtonya.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-schema-setup.php

    r52051 r52062  
    133133            '/wp/v2/block-types/(?P<namespace>[a-zA-Z0-9_-]+)/(?P<name>[a-zA-Z0-9_-]+)',
    134134            '/wp/v2/settings',
     135            '/wp/v2/template-parts',
     136            '/wp/v2/template-parts/(?P<id>[\/\w-]+)',
     137            '/wp/v2/template-parts/(?P<id>[\d]+)/autosaves',
     138            '/wp/v2/template-parts/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)',
     139            '/wp/v2/template-parts/(?P<parent>[\d]+)/revisions',
     140            '/wp/v2/template-parts/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)',
    135141            '/wp/v2/templates',
    136142            '/wp/v2/templates/(?P<id>[\/\w-]+)',
Note: See TracChangeset for help on using the changeset viewer.