Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move endpoint to stable namespace.
  • Loading branch information
ironprogrammer committed Apr 6, 2022
commit 114a651877addffacbcf408a46719bef4bb0df57
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