mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
REST API: Add widget endpoints
Adds the sidebars, widgets and widget-types REST API endpoints from the Gutenberg plugin. Fixes #41683. Props TimothyBlynJacobs. git-svn-id: https://develop.svn.wordpress.org/trunk@50993 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -63,3 +63,6 @@ require_once ABSPATH . WPINC . '/widgets/class-wp-nav-menu-widget.php';
|
||||
|
||||
/** WP_Widget_Custom_HTML class */
|
||||
require_once ABSPATH . WPINC . '/widgets/class-wp-widget-custom-html.php';
|
||||
|
||||
/** WP_Widget_Block class */
|
||||
require_once ABSPATH . WPINC . '/widgets/class-wp-widget-block.php';
|
||||
|
||||
Reference in New Issue
Block a user