WordPress/wp-includes/rest-api/endpoints
gziolo 56145f874a Editor: Add selectors field to block type definition
Adds support for the new selectors property for block types. It adds it to the allowed metadata when registering a block type, makes the WP_Block_Type class aware of it, exposes it through the block types REST API, and the get_block_editor_server_block_settings function.

Corresponding work in the Gutenberg plugin: https://github.com/WordPress/gutenberg/pull/46496.

Fixes #57585.
Props aaronrobertshaw, hellofromTonya.


Built from https://develop.svn.wordpress.org/trunk@55673


git-svn-id: http://core.svn.wordpress.org/trunk@55185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-21 10:43:25 +00:00
..
class-wp-rest-application-passwords-controller.php Application Passwords: Allow a Super Admin to set an application password on a site they're not a member of. 2022-08-11 18:24:09 +00:00
class-wp-rest-attachments-controller.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:51:14 +00:00
class-wp-rest-autosaves-controller.php Revisions: only create autosave when content changed. 2023-01-27 22:03:19 +00:00
class-wp-rest-block-directory-controller.php
class-wp-rest-block-pattern-categories-controller.php Editor: Allow block pattern categories to have descriptions. 2023-01-19 12:13:14 +00:00
class-wp-rest-block-patterns-controller.php Docs: Improve documentation for block pattern properties. 2023-02-01 15:02:14 +00:00
class-wp-rest-block-renderer-controller.php
class-wp-rest-block-types-controller.php Editor: Add selectors field to block type definition 2023-04-21 10:43:25 +00:00
class-wp-rest-blocks-controller.php
class-wp-rest-comments-controller.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:51:14 +00:00
class-wp-rest-controller.php Code Modernization: Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php. 2023-01-20 00:21:15 +00:00
class-wp-rest-edit-site-export-controller.php
class-wp-rest-global-styles-controller.php Coding Standards: Apply various alignment corrections from composer format. 2023-03-29 07:13:23 +00:00
class-wp-rest-menu-items-controller.php
class-wp-rest-menu-locations-controller.php
class-wp-rest-menus-controller.php
class-wp-rest-pattern-directory-controller.php Editor: Support the block_types and viewport_width props for remote patterns fetched from Pattern Directory. 2023-02-06 19:40:16 +00:00
class-wp-rest-plugins-controller.php Docs: Correct and improve the documented types for various functions and hooks. 2022-08-11 14:03:09 +00:00
class-wp-rest-post-statuses-controller.php
class-wp-rest-post-types-controller.php REST API: Fix check for has_archive inclusion. 2022-09-22 11:33:13 +00:00
class-wp-rest-posts-controller.php Query: Add a search_columns argument to control which fields are searched in a search query. 2023-02-07 08:55:18 +00:00
class-wp-rest-revisions-controller.php Code Modernization: Rename parameters that use reserved keywords in phpunit/includes/class-wp-unittest-factory-for-attachment.php. 2022-12-30 02:38:17 +00:00
class-wp-rest-search-controller.php Docs: Miscellaneous improvements and corrections to docblocks. 2023-02-07 21:21:18 +00:00
class-wp-rest-settings-controller.php REST API: Add support for settings to specify their own additionalProperties. 2022-09-11 23:30:10 +00:00
class-wp-rest-sidebars-controller.php Widgets: Preserve classic sidebars when switching to a block theme. 2023-02-03 00:15:21 +00:00
class-wp-rest-site-health-controller.php I18N: Always pass $locale to load_textdomain(). 2022-11-10 19:40:11 +00:00
class-wp-rest-taxonomies-controller.php Taxonomy: Correct an invalid @param tag. 2022-10-11 09:56:11 +00:00
class-wp-rest-templates-controller.php REST API: Support non-Latin characters in template route regex. 2023-02-07 23:47:23 +00:00
class-wp-rest-terms-controller.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:51:14 +00:00
class-wp-rest-themes-controller.php
class-wp-rest-url-details-controller.php
class-wp-rest-users-controller.php REST API: Remove 'Invalid user ID' error in WP_REST_Users_Controller::update_item(). 2023-02-13 23:10:20 +00:00
class-wp-rest-widget-types-controller.php Code Modernization: Rename parameters that use reserved keywords in wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php. 2022-12-14 14:28:12 +00:00
class-wp-rest-widgets-controller.php Code Modernization: Rename parameters that use reserved keywords in wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php. 2022-12-14 14:31:11 +00:00