Changeset 53005
- Timestamp:
- 03/28/2022 08:29:09 PM (3 years ago)
- Location:
- branches/5.9
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.9
-
branches/5.9/src/wp-admin/edit-form-blocks.php
r52753 r53005 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 -
branches/5.9/src/wp-admin/site-editor.php
r52594 r53005 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.