From 81f50eaf8acceb04ca3705822caeb42999ea7b34 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Mon, 4 Sep 2017 08:47:25 +0100 Subject: [PATCH] Taxonmies: Preload Taxonomies API --- lib/client-assets.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/client-assets.php b/lib/client-assets.php index 71684f7c628a77..aecc7d98af1d5c 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -731,6 +731,7 @@ function gutenberg_editor_scripts_and_styles( $hook ) { // Preload common data. $preload_paths = array( '/wp/v2/users/me?context=edit', + '/wp/v2/taxonomies?context=edit', gutenberg_get_rest_link( $post_to_edit, 'about', 'edit' ), ); if ( ! $is_new_post ) {