Ticket #54337: 54337.add_query_arg.diff
File 54337.add_query_arg.diff, 558 bytes (added by , 3 years ago) |
---|
-
src/wp-admin/site-editor.php
66 66 $active_areas = array_intersect_key( $areas, get_navigation_areas() ); 67 67 foreach ( $active_areas as $post_id ) { 68 68 if ( $post_id ) { 69 $preload_paths[] = add_query_arg s( 'context', 'edit', rest_get_route_for_post( $post_id ) );69 $preload_paths[] = add_query_arg( 'context', 'edit', rest_get_route_for_post( $post_id ) ); 70 70 } 71 71 } 72 72