From a17dfb19866687e19cb6ff7fbba7ab05c6ed7a3b Mon Sep 17 00:00:00 2001 From: Carlos Bravo Date: Mon, 19 Jun 2023 15:16:13 +0200 Subject: [PATCH] Move behaviors code to experimental --- lib/{compat/wordpress-6.3 => experimental}/behaviors.php | 0 lib/load.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/{compat/wordpress-6.3 => experimental}/behaviors.php (100%) diff --git a/lib/compat/wordpress-6.3/behaviors.php b/lib/experimental/behaviors.php similarity index 100% rename from lib/compat/wordpress-6.3/behaviors.php rename to lib/experimental/behaviors.php diff --git a/lib/load.php b/lib/load.php index ceecaf7f89478..afda5db277a52 100644 --- a/lib/load.php +++ b/lib/load.php @@ -52,7 +52,6 @@ function gutenberg_is_experiment_enabled( $name ) { require_once __DIR__ . '/compat/wordpress-6.3/theme-previews.php'; require_once __DIR__ . '/compat/wordpress-6.3/navigation-block-preloading.php'; require_once __DIR__ . '/compat/wordpress-6.3/link-template.php'; - require_once __DIR__ . '/compat/wordpress-6.3/behaviors.php'; // Experimental. if ( ! class_exists( 'WP_Rest_Customizer_Nonces' ) ) { @@ -97,6 +96,7 @@ function gutenberg_is_experiment_enabled( $name ) { // Experimental features. remove_action( 'plugins_loaded', '_wp_theme_json_webfonts_handler' ); // Turns off WP 6.0's stopgap handler for Webfonts API. +require __DIR__ . '/experimental/behaviors.php'; require __DIR__ . '/experimental/block-editor-settings-mobile.php'; require __DIR__ . '/experimental/block-editor-settings.php'; require __DIR__ . '/experimental/blocks.php';