From 3e5c38fd2995aa494f474571c588954194d44c0e Mon Sep 17 00:00:00 2001 From: Aki Hamano Date: Wed, 13 May 2026 16:53:26 +0900 Subject: [PATCH] Fonts: Move admin menu compat from experimental to wordpress-7.0 The Fonts admin menu registration targets WordPress 7.0, so relocate it into lib/compat/wordpress-7.0/ to follow the version-specific compat layout instead of leaving it under experimental/. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../fonts/load.php => compat/wordpress-7.0/fonts.php} | 0 lib/load.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/{experimental/fonts/load.php => compat/wordpress-7.0/fonts.php} (100%) diff --git a/lib/experimental/fonts/load.php b/lib/compat/wordpress-7.0/fonts.php similarity index 100% rename from lib/experimental/fonts/load.php rename to lib/compat/wordpress-7.0/fonts.php diff --git a/lib/load.php b/lib/load.php index 237a3aeb8c28c9..a9a8a295268cac 100644 --- a/lib/load.php +++ b/lib/load.php @@ -121,6 +121,7 @@ function gutenberg_is_experiment_enabled( $name ) { require __DIR__ . '/compat/wordpress-7.0/command-palette.php'; require __DIR__ . '/compat/wordpress-7.0/meta-box-rtc-compat.php'; require __DIR__ . '/compat/wordpress-7.0/script-modules.php'; +require __DIR__ . '/compat/wordpress-7.0/fonts.php'; // WordPress 7.1 compat. require __DIR__ . '/compat/wordpress-7.1/classic-block.php'; @@ -133,7 +134,6 @@ function gutenberg_is_experiment_enabled( $name ) { require __DIR__ . '/experimental/script-modules.php'; require __DIR__ . '/experimental/pages/site-editor.php'; require __DIR__ . '/experimental/extensible-site-editor.php'; -require __DIR__ . '/experimental/fonts/load.php'; if ( gutenberg_is_experiment_enabled( 'gutenberg-media-editor' ) ) { require __DIR__ . '/experimental/media-editor/load.php'; }