From dda046184c5961eb0c287a27dd56cefb03e0e85b Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Mon, 28 Jun 2021 19:10:44 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@51251 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/customize.php | 2 +- src/wp-includes/theme.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/customize.php b/src/wp-admin/customize.php index 699ecdf914..0c9298784c 100644 --- a/src/wp-admin/customize.php +++ b/src/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/src/wp-includes/theme.php b/src/wp-includes/theme.php index 4741fb9b48..dae7ed7e4c 100644 --- a/src/wp-includes/theme.php +++ b/src/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' ),