diff --git a/lib/client-assets.php b/lib/client-assets.php index ded267509348b2..3ca7424d646ada 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -484,7 +484,7 @@ function gutenberg_extend_wp_api_backbone_client() { wp_add_inline_script( 'wp-api', $script ); // Localize the wp-api settings and schema. - $schema_response = rest_do_request( new WP_REST_Request( 'GET', '/wp/v2' ) ); + $schema_response = rest_do_request( new WP_REST_Request( 'GET', '/' ) ); if ( ! $schema_response->is_error() ) { wp_add_inline_script( 'wp-api', sprintf( 'wpApiSettings.cacheSchema = true; wpApiSettings.schema = %s;',