Skip to content
Next Next commit
Update site-editor.php
  • Loading branch information
ellatrix committed Oct 21, 2025
commit e9c3308b987e34cd8e33813fac8e89d34e0c4234
1 change: 1 addition & 0 deletions src/wp-admin/site-editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,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',
Expand Down