Make WordPress Core


Ignore:
Timestamp:
05/10/2021 06:37:36 PM (5 years ago)
Author:
desrosj
Message:

Posts, Post Types: Enable revisions for the wp_block post type.

This allows site owners to take advantage of revisions while broader improvements to block management and reusable blocks are explored.

Props matveb, audrasjb, desrosj.
Fixes #53072.

File:
1 edited

Legend:

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

    r50463 r50835  
    104104                        '/wp/v2/blocks/(?P<id>[\d]+)/autosaves',
    105105                        '/wp/v2/blocks/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)',
     106                        '/wp/v2/blocks/(?P<parent>[\d]+)/revisions',
     107                        '/wp/v2/blocks/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)',
    106108                        '/wp/v2/types',
    107109                        '/wp/v2/types/(?P<type>[\\w-]+)',
Note: See TracChangeset for help on using the changeset viewer.