Changeset 52995
- Timestamp:
- 03/25/2022 09:48:40 PM (3 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-blocks.php
r52752 r52995 58 58 // Preload common data. 59 59 $preload_paths = array( 60 '/',61 60 '/wp/v2/types?context=edit', 62 '/wp/v2/taxonomies? per_page=-1&context=edit',61 '/wp/v2/taxonomies?context=edit', 63 62 '/wp/v2/themes?status=active', 64 63 add_query_arg( 'context', 'edit', $rest_path ), 65 64 sprintf( '/wp/v2/types/%s?context=edit', $post_type ), 66 sprintf( '/wp/v2/users/me?post_type=%s&context=edit', $post_type ),65 '/wp/v2/users/me', 67 66 array( rest_get_route_for_post_type_items( 'attachment' ), 'OPTIONS' ), 68 67 array( rest_get_route_for_post_type_items( 'wp_block' ), 'OPTIONS' ), 69 68 sprintf( '%s/autosaves?context=edit', $rest_path ), 69 '/wp/v2/settings', 70 70 ); 71 71 -
trunk/src/wp-admin/site-editor.php
r52942 r52995 73 73 $preload_paths = array( 74 74 array( '/wp/v2/media', 'OPTIONS' ), 75 '/',76 75 '/wp/v2/types?context=edit', 77 76 '/wp/v2/types/wp_template?context=edit',
Note: See TracChangeset
for help on using the changeset viewer.