wordpress-develop/tests/phpunit/tests/admin
Greg Ziółkowski f047b94d71 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@55673 602fd350-edb4-49c9-b593-d223f7449a82
2023-04-21 10:41:58 +00:00
..
includesComment.php Tests: Add missing @covers tags for Tests_Admin_IncludesComment. 2021-09-01 21:58:32 +00:00
includesFile.php HTTP API: Fix request header inconsistencies. 2023-02-03 13:33:18 +00:00
includesMisc.php Build/Test Tools: Add missing @covers and visibility for Tests_Admin_includesMisc. 2021-11-02 22:07:49 +00:00
includesPlugin.php I18N: Introduce WP_Textdomain_Registry to store text domains and their language directory paths. 2022-08-11 12:37:05 +00:00
includesPost.php Editor: Add selectors field to block type definition 2023-04-21 10:41:58 +00:00
includesSchema.php Date/Time: Correct sanitization of localized default timezone_string in populate_options(). 2022-09-20 00:41:58 +00:00
includesScreen.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
includesTemplate.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
includesTheme.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
includesUser.php Application Passwords: Allow plain HTTP success and reject URLs when using a local environment type. 2023-02-07 17:43:55 +00:00
wpAutomaticUpdater.php Upgrade/Install: Introduce WP_Automatic_Updater::is_allowed_dir() method. 2023-02-26 15:17:45 +00:00
wpCommentsListTable.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2022-11-29 12:32:37 +00:00
wpCommunityEvents.php Tests: Merge file-level and class-level DocBlocks in various unit test files. 2023-02-14 16:10:13 +00:00
wpListTable.php Administration: Add new get_views_links method to WP_List_Table. 2022-09-19 21:06:08 +00:00
wpMediaListTable.php Cron API: Modify _get_cron_array() to always return an array. 2022-07-29 03:32:58 +00:00
wpPluginInstallListTable.php Administration: Add new get_views_links method to WP_List_Table. 2022-09-19 21:06:08 +00:00
wpPluginsListTable.php Administration: Add new get_views_links method to WP_List_Table. 2022-09-19 21:06:08 +00:00
wpPostCommentsListTable.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2022-11-29 12:32:37 +00:00
wpPostsListTable.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2022-11-29 12:32:37 +00:00
wpPrivacyRequestsTable.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
wpSiteHealth.php Tests: Bring some consistency to mocking HTTP requests in unit tests. 2023-01-05 10:21:19 +00:00
wpThemeInstallListTable.php Administration: Add new get_views_links method to WP_List_Table. 2022-09-19 21:06:08 +00:00
wpUsersListTable.php Administration: Add new get_views_links method to WP_List_Table. 2022-09-19 21:06:08 +00:00