From 2e375d47908ab85633cbe001ae7fa23d0b5fab6e Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Thu, 10 Nov 2022 09:38:58 +0000 Subject: [PATCH] Text Changes: Replace "Full site editing" with "Site Editor". This changeset replaces the various occurrences of "Full site editing" with "Site Editor" as it is the new official name of the feature. For more background about this change, see https://make.wordpress.org/updates/2022/11/04/site-editor-a-more-user-friendly-name/. Props audrasjb, peterwilsoncc, poena. Fixes #57026. git-svn-id: https://develop.svn.wordpress.org/trunk@54786 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 2 +- src/wp-admin/includes/theme.php | 3 ++- src/wp-admin/site-editor.php | 2 +- src/wp-content/themes/twentytwentytwo/readme.txt | 2 +- src/wp-content/themes/twentytwentytwo/style.css | 2 +- src/wp-includes/block-template.php | 2 +- src/wp-includes/script-loader.php | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 87e321d00b..4fff85d2a3 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -214,7 +214,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';

a filter for block themes, and a pattern preview gives a better sense of what the theme might look like while exploring different themes and patterns.' ), esc_url( __( 'https://wordpress.org/themes/tags/full-site-editing/' ) ) ); diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php index 020927a154..3d88d94178 100644 --- a/src/wp-admin/includes/theme.php +++ b/src/wp-admin/includes/theme.php @@ -299,6 +299,7 @@ function get_theme_update_available( $theme ) { * and 'Full Site Editing' features. * @since 5.5.0 Added 'Wide Blocks' layout option. * @since 5.8.1 Added 'Template Editing' feature. + * @since 6.2.0 Replaced 'Full Site Editing' feature name with 'Site Editor'. * * @param bool $api Optional. Whether try to fetch tags from the WordPress.org API. Defaults to true. * @return array Array of features keyed by category with translations keyed by slug. @@ -331,7 +332,7 @@ function get_theme_feature_list( $api = true ) { 'featured-image-header' => __( 'Featured Image Header' ), 'featured-images' => __( 'Featured Images' ), 'footer-widgets' => __( 'Footer Widgets' ), - 'full-site-editing' => __( 'Full Site Editing' ), + 'full-site-editing' => __( 'Site Editor' ), 'full-width-template' => __( 'Full Width Template' ), 'post-formats' => __( 'Post Formats' ), 'sticky-post' => __( 'Sticky Post' ), diff --git a/src/wp-admin/site-editor.php b/src/wp-admin/site-editor.php index 64ed4b9c27..d2880b0a4f 100644 --- a/src/wp-admin/site-editor.php +++ b/src/wp-admin/site-editor.php @@ -20,7 +20,7 @@ if ( ! current_user_can( 'edit_theme_options' ) ) { } if ( ! ( current_theme_supports( 'block-template-parts' ) || wp_is_block_theme() ) ) { - wp_die( __( 'The theme you are currently using is not compatible with Full Site Editing.' ) ); + wp_die( __( 'The theme you are currently using is not compatible with the Site Editor.' ) ); } $is_template_part_editor = isset( $_GET['postType'] ) && 'wp_template_part' === sanitize_key( $_GET['postType'] ); diff --git a/src/wp-content/themes/twentytwentytwo/readme.txt b/src/wp-content/themes/twentytwentytwo/readme.txt index 20663b579f..72f079badf 100644 --- a/src/wp-content/themes/twentytwentytwo/readme.txt +++ b/src/wp-content/themes/twentytwentytwo/readme.txt @@ -11,7 +11,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html Built on a solidly designed foundation, Twenty Twenty-Two embraces the idea that everyone deserves a truly unique website. The theme’s subtle styles are inspired by the diversity and versatility of birds: its typography is lightweight yet strong, its color palette is drawn from nature, and its layout elements sit gently on the page. -The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Full Site Editing features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks. +The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Site Editor features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks. Whether you’re building a single-page website, a blog, a business website, or a portfolio, Twenty Twenty-Two will help you create a site that is uniquely yours. diff --git a/src/wp-content/themes/twentytwentytwo/style.css b/src/wp-content/themes/twentytwentytwo/style.css index 0f46424d18..f611fad6c1 100644 --- a/src/wp-content/themes/twentytwentytwo/style.css +++ b/src/wp-content/themes/twentytwentytwo/style.css @@ -3,7 +3,7 @@ Theme Name: Twenty Twenty-Two Theme URI: https://wordpress.org/themes/twentytwentytwo/ Author: the WordPress team Author URI: https://wordpress.org/ -Description: Built on a solidly designed foundation, Twenty Twenty-Two embraces the idea that everyone deserves a truly unique website. The theme’s subtle styles are inspired by the diversity and versatility of birds: its typography is lightweight yet strong, its color palette is drawn from nature, and its layout elements sit gently on the page. The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Full Site Editing features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks. Whether you’re building a single-page website, a blog, a business website, or a portfolio, Twenty Twenty-Two will help you create a site that is uniquely yours. +Description: Built on a solidly designed foundation, Twenty Twenty-Two embraces the idea that everyone deserves a truly unique website. The theme’s subtle styles are inspired by the diversity and versatility of birds: its typography is lightweight yet strong, its color palette is drawn from nature, and its layout elements sit gently on the page. The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Site Editor features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks. Whether you’re building a single-page website, a blog, a business website, or a portfolio, Twenty Twenty-Two will help you create a site that is uniquely yours. Requires at least: 5.9 Tested up to: 6.1 Requires PHP: 5.6 diff --git a/src/wp-includes/block-template.php b/src/wp-includes/block-template.php index 0aa571117e..38d8e2b729 100644 --- a/src/wp-includes/block-template.php +++ b/src/wp-includes/block-template.php @@ -43,7 +43,7 @@ function _add_template_loader_filters() { * @param string $template Path to the template. See locate_template(). * @param string $type Sanitized filename without extension. * @param string[] $templates A list of template candidates, in descending order of priority. - * @return string The path to the Full Site Editing template canvas file, or the fallback PHP template. + * @return string The path to the Site Editor template canvas file, or the fallback PHP template. */ function locate_block_template( $template, $type, array $templates ) { global $_wp_current_template_content; diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index f22928dba1..956d4338ef 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -1287,7 +1287,7 @@ function wp_default_scripts( $scripts ) { 'invalidValue' => __( 'Invalid value.' ), 'blockThemeNotification' => sprintf( /* translators: 1: Link to Site Editor documentation on HelpHub, 2: HTML button. */ - __( 'Hurray! Your theme supports Full Site Editing with blocks. Tell me more. %2$s' ), + __( 'Hurray! Your theme supports Site Editing with blocks. Tell me more. %2$s' ), __( 'https://wordpress.org/support/article/site-editor/' ), sprintf( '',