WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/01/2020 04:22:25 AM (11 months ago)
Author:
TimothyBlynJacobs
Message:

REST API: Introduce plugin management and block directory endpoints.

These endpoints facilitate the Block Directory Inserter feature in Gutenberg. Users can now install, activate, deactivate, and delete plugins over the REST API. The block directoryendpoint allows searching for available blocks from the WordPress.org block directory.

Props cklee, talldanwp, noisysocks, joen, soean, youknowriad, dufresnesteven, gziolo, dd32, tellyworth, ryelle, spacedmonkey, TimothyBlynJacobs.
Fixes #50321.

File:
1 edited

Legend:

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

    r48173 r48242  
    258258require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-settings-controller.php';
    259259require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-themes-controller.php';
     260require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-plugins-controller.php';
     261require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-block-directory-controller.php';
    260262require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-meta-fields.php';
    261263require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-comment-meta-fields.php';
Note: See TracChangeset for help on using the changeset viewer.