From e29efe7d3d04d04c3a09abc10731f6ebc2a5a4d8 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Tue, 6 Feb 2024 09:14:31 +0100 Subject: [PATCH] Register the font collections REST controller --- src/wp-includes/rest-api.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-includes/rest-api.php b/src/wp-includes/rest-api.php index 2631a6663fe92..b44b205afb6ef 100644 --- a/src/wp-includes/rest-api.php +++ b/src/wp-includes/rest-api.php @@ -391,6 +391,10 @@ function create_initial_rest_routes() { // Navigation Fallback. $controller = new WP_REST_Navigation_Fallback_Controller(); $controller->register_routes(); + + // Font Collections. + $font_collections_controller = new WP_REST_Font_Collections_Controller(); + $font_collections_controller->register_routes(); } /**