From 893e087bbfb031f279661f328726a6042fe1cfaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= <583546+oandregal@users.noreply.github.com> Date: Thu, 17 Feb 2022 13:30:13 +0100 Subject: [PATCH] Move functions to the compat/6.0 folder While this PR does not do any behavioral change, we still need to call the plugin clasess when the minimum plugin version is 5.9 (at which point, the compat/5.9 is removed). --- .../get-global-styles-and-settings.php | 0 lib/load.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/compat/{wordpress-5.9 => wordpress-6.0}/get-global-styles-and-settings.php (100%) diff --git a/lib/compat/wordpress-5.9/get-global-styles-and-settings.php b/lib/compat/wordpress-6.0/get-global-styles-and-settings.php similarity index 100% rename from lib/compat/wordpress-5.9/get-global-styles-and-settings.php rename to lib/compat/wordpress-6.0/get-global-styles-and-settings.php diff --git a/lib/load.php b/lib/load.php index 20b8c6bfe6c34d..443942c98ee80a 100644 --- a/lib/load.php +++ b/lib/load.php @@ -70,7 +70,7 @@ function gutenberg_is_experiment_enabled( $name ) { require __DIR__ . '/compat/wordpress-5.9/default-editor-styles.php'; require __DIR__ . '/compat/wordpress-5.9/register-global-styles-cpt.php'; require __DIR__ . '/compat/wordpress-5.9/script-loader.php'; -require __DIR__ . '/compat/wordpress-5.9/get-global-styles-and-settings.php'; +require __DIR__ . '/compat/wordpress-6.0/get-global-styles-and-settings.php'; require __DIR__ . '/compat/wordpress-5.9/render-svg-filters.php'; require __DIR__ . '/compat/wordpress-5.9/json-file-decode.php'; require __DIR__ . '/compat/wordpress-5.9/translate-settings-using-i18n-schema.php';