PluginProbe
Gutenberg / 22.7.0
Gutenberg v22.7.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | lib/compat/wordpress-7.0/class-wp-rest-icons-controller.php +1 -1 23.6.2 → 22.7.0 View file →
@@ -35,9 +35,9 @@
35 35 );
36 36
37 37 register_rest_route(
38 38 $this->namespace,
39 - '/' . $this->rest_base . '/(?P<name>[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?/[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)',
39 + '/' . $this->rest_base . '/(?P<name>[a-z][a-z0-9-]*/[a-z][a-z0-9-]*)',
40 40 array(
41 41 'args' => array(
42 42 'name' => array(
43 43 'description' => __( 'Icon name.', 'gutenberg' ),