Make WordPress Core


Ignore:
Timestamp:
11/07/2025 12:41:01 PM (5 months ago)
Author:
ellatrix
Message:

Revert template activation.

This commit reverts the PHP changes that were made to support the template activation feature. The UI was already reverted through the packages sync in [61177] (Gutenberg PR: https://github.com/WordPress/gutenberg/pull/73025).

Developed in https://github.com/WordPress/wordpress-develop/pull/10473.

Fixes #64214.
Props ellatrix, t-hamano, mcsf, ramonjd.

File:
1 edited

Legend:

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

    r61078 r61178  
    158158            '/wp/v2/templates/(?P<parent>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions',
    159159            '/wp/v2/templates/(?P<parent>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions/(?P<id>[\d]+)',
    160             '/wp/v2/registered-templates',
    161             '/wp/v2/registered-templates/(?P<id>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)',
    162             '/wp/v2/created-templates',
    163             '/wp/v2/created-templates/(?P<id>[\d]+)',
    164             '/wp/v2/created-templates/(?P<id>[\d]+)/autosaves',
    165             '/wp/v2/created-templates/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)',
    166             '/wp/v2/created-templates/(?P<parent>[\d]+)/revisions',
    167             '/wp/v2/created-templates/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)',
    168160            '/wp/v2/templates/lookup',
    169161            '/wp/v2/themes',
Note: See TracChangeset for help on using the changeset viewer.