From 70501fb081d3ac44de38db77bb9aceb859960c10 Mon Sep 17 00:00:00 2001 From: Ella <4710635+ellatrix@users.noreply.github.com> Date: Mon, 30 Dec 2024 19:20:53 +0100 Subject: [PATCH] Update site-editor.php --- src/wp-admin/site-editor.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-admin/site-editor.php b/src/wp-admin/site-editor.php index 3207bccdf2632..5092472bf7e06 100644 --- a/src/wp-admin/site-editor.php +++ b/src/wp-admin/site-editor.php @@ -91,6 +91,7 @@ static function ( $classes ) { array( rest_get_route_for_post_type_items( 'attachment' ), 'OPTIONS' ), array( rest_get_route_for_post_type_items( 'page' ), 'OPTIONS' ), '/wp/v2/types?context=view', + '/wp/v2/_wp_static_template?context=edit', '/wp/v2/types/wp_template?context=edit', '/wp/v2/types/wp_template_part?context=edit', '/wp/v2/templates?context=edit&per_page=-1',