Make WordPress Core

Changeset 51251


Ignore:
Timestamp:
06/28/2021 07:10:44 PM (5 years ago)
Author:
desrosj
Message:

Themes: Remove mention of “FSE” in Core.

Props aristath, jorbin.
Fixes #53497.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/customize.php

    r51197 r51251  
    187187                        $fse_safe       = true;
    188188
    189                         // Check if the theme requires the FSE to work correctly.
     189                        // Check if the theme requires the Gutenberg plugin to work correctly.
    190190                        $theme_tags = $wp_customize->theme()->get( 'Tags' );
    191191
  • trunk/src/wp-includes/theme.php

    r51215 r51251  
    914914        if ( ! empty( $theme_tags ) && in_array( 'full-site-editing', $theme_tags, true ) && ! function_exists( 'gutenberg_is_fse_theme' ) ) {
    915915                return new WP_Error(
    916                         'theme_requires_fse',
     916                        'theme_requires_gutenberg_plugin',
    917917                        sprintf(
    918918                                        /* translators: %s: Theme name. */
Note: See TracChangeset for help on using the changeset viewer.