From 7db8ca56ded2af7ae95afcd134e9073055713a2a Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 24 Jan 2023 08:49:47 +0000 Subject: [PATCH] Twenty Twenty-Two: Remove color reference from pattern names. This changeset removes color names from pattern names to make them less opinionated, and avoid mismatching when the user changes related colors. It does not update filenames for now, as they are not directly exposed to end users. Props poena, mukesh27. Fixes #56720. git-svn-id: https://develop.svn.wordpress.org/trunk@55122 602fd350-edb4-49c9-b593-d223f7449a82 --- .../inc/patterns/header-centered-logo-black-background.php | 2 +- .../inc/patterns/header-centered-title-navigation-social.php | 2 +- .../inc/patterns/header-logo-navigation-gray-background.php | 2 +- .../patterns/header-logo-navigation-social-black-background.php | 2 +- .../inc/patterns/header-text-only-green-background.php | 2 +- .../inc/patterns/header-text-only-salmon-background.php | 2 +- .../patterns/header-text-only-with-tagline-black-background.php | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php index c2cac8dcef..b10ed5b9b6 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php @@ -3,7 +3,7 @@ * Header with centered logo and black background */ return array( - 'title' => __( 'Header with centered logo and black background', 'twentytwentytwo' ), + 'title' => __( 'Header with centered logo and background', 'twentytwentytwo' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), 'content' => ' diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-title-navigation-social.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-title-navigation-social.php index 2e4dc451d1..cb1b310e11 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-title-navigation-social.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-title-navigation-social.php @@ -3,7 +3,7 @@ * Centered header with navigation, social links, and salmon background block pattern */ return array( - 'title' => __( 'Centered header with navigation, social links, and salmon background', 'twentytwentytwo' ), + 'title' => __( 'Centered header with navigation, social links, and background', 'twentytwentytwo' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), 'content' => ' diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-gray-background.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-gray-background.php index dbe8de9fe4..3ddea755f0 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-gray-background.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-gray-background.php @@ -3,7 +3,7 @@ * Logo and navigation header with gray background */ return array( - 'title' => __( 'Logo and navigation header with gray background', 'twentytwentytwo' ), + 'title' => __( 'Logo and navigation header with background', 'twentytwentytwo' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), 'content' => ' diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-social-black-background.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-social-black-background.php index f881b41d81..c9b0f886d1 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-social-black-background.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-social-black-background.php @@ -3,7 +3,7 @@ * Logo, navigation, and social links header with black background block pattern */ return array( - 'title' => __( 'Logo, navigation, and social links header with black background', 'twentytwentytwo' ), + 'title' => __( 'Logo, navigation, and social links header with background', 'twentytwentytwo' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), 'content' => ' diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-green-background.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-green-background.php index 0e11c13607..468a696dd7 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-green-background.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-green-background.php @@ -3,7 +3,7 @@ * Text-only header with green background block pattern */ return array( - 'title' => __( 'Text-only header with green background', 'twentytwentytwo' ), + 'title' => __( 'Text-only header with background', 'twentytwentytwo' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), 'content' => ' diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-salmon-background.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-salmon-background.php index b03e528a48..4a4913ec47 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-salmon-background.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-salmon-background.php @@ -3,7 +3,7 @@ * Text-only header with salmon background block pattern */ return array( - 'title' => __( 'Text-only header with salmon background', 'twentytwentytwo' ), + 'title' => __( 'Text-only header with background', 'twentytwentytwo' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), 'content' => ' diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-with-tagline-black-background.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-with-tagline-black-background.php index 4c2a4864f0..d529fe851d 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-with-tagline-black-background.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-with-tagline-black-background.php @@ -3,7 +3,7 @@ * Text-only header with tagline and black background block pattern */ return array( - 'title' => __( 'Text-only header with tagline and black background', 'twentytwentytwo' ), + 'title' => __( 'Text-only header with tagline and background', 'twentytwentytwo' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), 'content' => '