From ccdb1766aead26d4cef79badb015bb2727fefd59 Mon Sep 17 00:00:00 2001 From: desrosj Date: Mon, 28 Jun 2021 19:11:57 +0000 Subject: [PATCH] =?UTF-8?q?Themes:=20Remove=20mention=20of=20=E2=80=9CFSE?= =?UTF-8?q?=E2=80=9D=20in=20Core.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Props aristath, jorbin. Fixes #53497. Built from https://develop.svn.wordpress.org/trunk@51251 git-svn-id: http://core.svn.wordpress.org/trunk@50860 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/customize.php | 2 +- wp-includes/theme.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/customize.php b/wp-admin/customize.php index 699ecdf914..0c9298784c 100644 --- a/wp-admin/customize.php +++ b/wp-admin/customize.php @@ -186,7 +186,7 @@ do_action( 'customize_controls_head' ); $compatible_php = is_php_version_compatible( $wp_customize->theme()->get( 'RequiresPHP' ) ); $fse_safe = true; - // Check if the theme requires the FSE to work correctly. + // Check if the theme requires the Gutenberg plugin to work correctly. $theme_tags = $wp_customize->theme()->get( 'Tags' ); if ( ! empty( $theme_tags ) && in_array( 'full-site-editing', $theme_tags, true ) && ! function_exists( 'gutenberg_is_fse_theme' ) ) { diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 4741fb9b48..dae7ed7e4c 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -913,7 +913,7 @@ function validate_theme_requirements( $stylesheet ) { if ( ! empty( $theme_tags ) && in_array( 'full-site-editing', $theme_tags, true ) && ! function_exists( 'gutenberg_is_fse_theme' ) ) { return new WP_Error( - 'theme_requires_fse', + 'theme_requires_gutenberg_plugin', sprintf( /* translators: %s: Theme name. */ _x( 'Error: This theme (%s) uses Full Site Editing, which requires the Gutenberg plugin to be activated.', 'theme' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 6f6111f072..90c9a3769c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-beta4-51250'; +$wp_version = '5.8-beta4-51251'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.