Make WordPress Core


Ignore:
Timestamp:
05/25/2021 08:26:21 AM (3 years ago)
Author:
noisysocks
Message:

REST API: Add widget endpoints

Adds the sidebars, widgets and widget-types REST API endpoints from the
Gutenberg plugin.

Fixes #41683.
Props TimothyBlynJacobs, spacedmonkey, zieladam, jorgefilipecosta, youknowriad, kevin940726.

File:
1 edited

Legend:

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

    r50994 r50995  
    266266require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-application-passwords-controller.php';
    267267require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-site-health-controller.php';
     268require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-sidebars-controller.php';
     269require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-widget-types-controller.php';
     270require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-widgets-controller.php';
    268271require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-meta-fields.php';
    269272require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-comment-meta-fields.php';
Note: See TracChangeset for help on using the changeset viewer.