Changeset 53094 for trunk/src/wp-admin/edit-form-blocks.php
- Timestamp:
- 04/07/2022 01:38:08 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-blocks.php
r53070 r53094 58 58 // Preload common data. 59 59 $preload_paths = array( 60 '/wp/v2/types?context=edit', 61 '/wp/v2/taxonomies?context=edit', 62 '/wp/v2/themes?status=active', 60 '/wp/v2/types?context=view', 61 '/wp/v2/taxonomies?context=view', 62 add_query_arg( 63 array( 64 'context' => 'edit', 65 'per_page' => -1, 66 ), 67 rest_get_route_for_post_type_items( 'wp_block' ) 68 ), 63 69 add_query_arg( 'context', 'edit', $rest_path ), 64 70 sprintf( '/wp/v2/types/%s?context=edit', $post_type ), 65 71 '/wp/v2/users/me', 66 72 array( rest_get_route_for_post_type_items( 'attachment' ), 'OPTIONS' ), 73 array( rest_get_route_for_post_type_items( 'page' ), 'OPTIONS' ), 67 74 array( rest_get_route_for_post_type_items( 'wp_block' ), 'OPTIONS' ), 68 75 sprintf( '%s/autosaves?context=edit', $rest_path ),
Note: See TracChangeset
for help on using the changeset viewer.