Changeset 52272 for trunk/src/wp-admin/site-editor.php
- Timestamp:
- 11/29/2021 10:04:48 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 18 18 # Files for local environment config 19 19 /docker-compose.override.yml 20 .idea
-
- Property svn:ignore
-
trunk/src/wp-admin/site-editor.php
r52232 r52272 100 100 '/wp/v2/global-styles/' . $active_global_styles_id, 101 101 '/wp/v2/themes/' . $active_theme . '/global-styles', 102 '/wp/v2/block-navigation-areas?context=edit',103 102 ); 104 105 $areas = get_option( 'wp_navigation_areas', array() );106 $active_areas = array_intersect_key( $areas, get_navigation_areas() );107 foreach ( $active_areas as $post_id ) {108 if ( $post_id ) {109 $preload_paths[] = add_query_arg( 'context', 'edit', rest_get_route_for_post( $post_id ) );110 }111 }112 103 113 104 block_editor_rest_api_preload( $preload_paths, $block_editor_context );
Note: See TracChangeset
for help on using the changeset viewer.