Skip to content

Commit

Permalink
Move endpoint to stable namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
ironprogrammer committed Apr 6, 2022
1 parent 0fdc8aa commit 114a651
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class WP_REST_Block_Patterns_Controller extends WP_REST_Controller {
* @since 6.0.0
*/
public function __construct() {
$this->namespace = '__experimental';
$this->namespace = 'wp/v2';
$this->rest_base = 'block-patterns/patterns';
}

Expand Down

0 comments on commit 114a651

Please sign in to comment.