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 ceecaf7f894783..afda5db277a52e 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';