From 672abbf3c3f20c355f0d3a5bae4cbd88f8b7e4b0 Mon Sep 17 00:00:00 2001 From: ramon Date: Sat, 11 May 2024 07:34:22 +1000 Subject: [PATCH] Renamed file according to classname Moved other rest files up --- ...lass-gutenberg-rest-edit-site-export-controller-6-6.php} | 0 lib/load.php | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename lib/compat/wordpress-6.6/{class-wp-rest-edit-site-export-controller-gutenberg-6-6.php => class-gutenberg-rest-edit-site-export-controller-6-6.php} (100%) diff --git a/lib/compat/wordpress-6.6/class-wp-rest-edit-site-export-controller-gutenberg-6-6.php b/lib/compat/wordpress-6.6/class-gutenberg-rest-edit-site-export-controller-6-6.php similarity index 100% rename from lib/compat/wordpress-6.6/class-wp-rest-edit-site-export-controller-gutenberg-6-6.php rename to lib/compat/wordpress-6.6/class-gutenberg-rest-edit-site-export-controller-6-6.php diff --git a/lib/load.php b/lib/load.php index ebca223da3f770..5088275c1bd3bb 100644 --- a/lib/load.php +++ b/lib/load.php @@ -47,7 +47,9 @@ function gutenberg_is_experiment_enabled( $name ) { require_once __DIR__ . '/compat/wordpress-6.5/rest-api.php'; // WordPress 6.6 compat. - require_once __DIR__ . '/compat/wordpress-6.6/class-wp-rest-edit-site-export-controller-gutenberg-6-6.php'; + require_once __DIR__ . '/compat/wordpress-6.6/class-gutenberg-rest-edit-site-export-controller-6-6.php'; + require __DIR__ . '/compat/wordpress-6.6/class-gutenberg-rest-templates-controller-6-6.php'; + require __DIR__ . '/compat/wordpress-6.6/rest-api.php'; // Plugin specific code. require_once __DIR__ . '/class-wp-rest-global-styles-controller-gutenberg.php'; @@ -133,8 +135,6 @@ function gutenberg_is_experiment_enabled( $name ) { require __DIR__ . '/compat/wordpress-6.6/block-bindings/pattern-overrides.php'; require __DIR__ . '/compat/wordpress-6.6/block-template-utils.php'; require __DIR__ . '/compat/wordpress-6.6/option.php'; -require __DIR__ . '/compat/wordpress-6.6/class-gutenberg-rest-templates-controller-6-6.php'; -require __DIR__ . '/compat/wordpress-6.6/rest-api.php'; require __DIR__ . '/compat/wordpress-6.6/post.php'; // Experimental features.