Skip to content

Commit 7ad8e49

Browse files
committed
Update site-editor.php
1 parent 96e39e2 commit 7ad8e49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wp-admin/site-editor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ static function ( $classes ) {
182182
array( rest_get_route_for_post_type_items( 'attachment' ), 'OPTIONS' ),
183183
array( rest_get_route_for_post_type_items( 'page' ), 'OPTIONS' ),
184184
'/wp/v2/types?context=view',
185+
'/wp/v2/_wp_static_template?context=edit',
185186
'/wp/v2/types/wp_template?context=edit',
186187
'/wp/v2/types/wp_template_part?context=edit',
187188
'/wp/v2/templates?context=edit&per_page=-1',

0 commit comments

Comments
 (0)