mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Taxonomy: add taxonomy for user pattern categories.
Adds a `wp_pattern_category` taxonomy linked to the `wp-block` object. Props glendaviesnz, kebbet, desrosj, mamaduka. Fixes #59379. git-svn-id: https://develop.svn.wordpress.org/trunk@56642 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -186,6 +186,8 @@ class WP_Test_REST_Schema_Initialization extends WP_Test_REST_TestCase {
|
||||
'/wp-site-health/v1/tests/authorization-header',
|
||||
'/wp-site-health/v1/tests/page-cache',
|
||||
'/wp-site-health/v1/directory-sizes',
|
||||
'/wp/v2/wp_pattern_category',
|
||||
'/wp/v2/wp_pattern_category/(?P<id>[\d]+)',
|
||||
);
|
||||
|
||||
$this->assertSameSets( $expected_routes, $routes );
|
||||
|
||||
Reference in New Issue
Block a user