Make WordPress Core


Ignore:
Timestamp:
07/01/2020 04:22:25 AM (4 years 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-admin/edit-form-blocks.php

    r48156 r48242  
    362362wp_tinymce_inline_scripts();
    363363wp_enqueue_editor();
     364wp_enqueue_script( 'wp-block-directory' );
    364365
    365366/**
     
    368369wp_enqueue_style( 'wp-edit-post' );
    369370wp_enqueue_style( 'wp-format-library' );
     371wp_enqueue_style( 'wp-block-directory' );
    370372
    371373/**
Note: See TracChangeset for help on using the changeset viewer.