Skip to content

Commit 114a651

Browse files
Move endpoint to stable namespace.
See WordPress#2488 (comment).
1 parent 0fdc8aa commit 114a651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class WP_REST_Block_Patterns_Controller extends WP_REST_Controller {
2222
* @since 6.0.0
2323
*/
2424
public function __construct() {
25-
$this->namespace = '__experimental';
25+
$this->namespace = 'wp/v2';
2626
$this->rest_base = 'block-patterns/patterns';
2727
}
2828

0 commit comments

Comments
 (0)