From db8df6b8e8041e697acb9bd63e28ca35908e2a85 Mon Sep 17 00:00:00 2001 From: Jeff Ong Date: Tue, 30 Nov 2021 16:17:43 +0000 Subject: [PATCH] Twenty Twenty-Two: Sync updates from GitHub. This commit syncs minor changes for the default theme from its active development repository to core. This is a follow up to [52081], [52107], [52164], and [52222]. It includes changes to template part markup, theme.json appearance flags, navigation block markup, and text domains. For a full set of changes, visit https://github.com/WordPress/twentytwentytwo/compare/742df6cb2b01bedfb9ff54210a7b23765baa0d2f...1a121e0224c75ffa1c34fff4860386e9cdb9e3bd. Props poena, kjellr, onemaggie, hellofromtonya. See #54318. git-svn-id: https://develop.svn.wordpress.org/trunk@52283 602fd350-edb4-49c9-b593-d223f7449a82 --- .../block-template-parts/footer.html | 4 ++++ .../header-large-dark.html | 4 +--- .../header-small-dark.html | 4 +--- .../block-template-parts/header.html | 20 +++++++++++-------- .../twentytwentytwo/block-templates/404.html | 4 ++-- .../block-templates/archive.html | 4 ++-- .../twentytwentytwo/block-templates/home.html | 2 +- .../block-templates/index.html | 4 ++-- .../block-templates/page-large-header.html | 2 +- .../block-templates/page-no-separators.html | 4 ++-- .../twentytwentytwo/block-templates/page.html | 4 ++-- .../block-templates/single-no-separators.html | 4 ++-- .../block-templates/single.html | 4 ++-- .../patterns/footer-navigation-copyright.php | 2 +- .../header-centered-logo-black-background.php | 2 +- .../inc/patterns/header-centered-logo.php | 4 +++- ...eader-centered-title-navigation-social.php | 2 +- .../inc/patterns/header-default.php | 2 +- .../header-image-background-overlay.php | 2 +- .../inc/patterns/header-image-background.php | 2 +- .../inc/patterns/header-large-dark.php | 2 +- .../header-logo-navigation-offset-tagline.php | 2 +- ...ogo-navigation-social-black-background.php | 2 +- .../inc/patterns/header-small-dark.php | 2 +- .../inc/patterns/header-stacked.php | 2 +- .../header-text-only-green-background.php | 2 +- .../header-text-only-salmon-background.php | 2 +- ...ext-only-with-tagline-black-background.php | 2 +- .../inc/patterns/header-title-and-button.php | 2 +- .../header-title-navigation-social.php | 2 +- .../inc/patterns/header-with-tagline.php | 2 +- .../inc/patterns/hidden-404.php | 5 +---- .../inc/patterns/page-about-media-left.php | 2 +- .../inc/patterns/page-about-media-right.php | 4 ++-- .../inc/patterns/page-about-simple-dark.php | 2 +- .../patterns/page-layout-image-and-text.php | 8 ++++---- .../page-sidebar-blog-posts-right.php | 2 +- .../themes/twentytwentytwo/theme.json | 12 +---------- 38 files changed, 65 insertions(+), 72 deletions(-) diff --git a/src/wp-content/themes/twentytwentytwo/block-template-parts/footer.html b/src/wp-content/themes/twentytwentytwo/block-template-parts/footer.html index 3dcf79e51f..b7b87d62ee 100644 --- a/src/wp-content/themes/twentytwentytwo/block-template-parts/footer.html +++ b/src/wp-content/themes/twentytwentytwo/block-template-parts/footer.html @@ -1 +1,5 @@ + +
+
+ diff --git a/src/wp-content/themes/twentytwentytwo/block-template-parts/header-large-dark.html b/src/wp-content/themes/twentytwentytwo/block-template-parts/header-large-dark.html index cee18c8340..44852b491a 100644 --- a/src/wp-content/themes/twentytwentytwo/block-template-parts/header-large-dark.html +++ b/src/wp-content/themes/twentytwentytwo/block-template-parts/header-large-dark.html @@ -1,7 +1,5 @@ - 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 09e7a46a52..497815e0dc 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 @@ -10,7 +10,7 @@ return array( 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 4d72bd355b..ae697a6715 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 @@ -14,7 +14,7 @@ return array( - + diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-title-and-button.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-title-and-button.php index 1d150d5424..8f237d431e 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-title-and-button.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-title-and-button.php @@ -9,7 +9,7 @@ return array( 'content' => '
- +
', diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-title-navigation-social.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-title-navigation-social.php index 4b7aba2c67..4fc3f6ec93 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-title-navigation-social.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-title-navigation-social.php @@ -9,7 +9,7 @@ return array( 'content' => '
- + diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-with-tagline.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-with-tagline.php index 108119d471..6883405715 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/header-with-tagline.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/header-with-tagline.php @@ -17,7 +17,7 @@ return array(
- + ', diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/hidden-404.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/hidden-404.php index 452cc9d7d9..e0e8edf3a7 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/hidden-404.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/hidden-404.php @@ -11,8 +11,5 @@ return array(

' . esc_html__( 'This page could not be found. Maybe try a search?', 'twentytwentytwo' ) . '

- - - - ', + ', ); diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-left.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-left.php index 3cd327005d..ff08a3bfb7 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-left.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-left.php @@ -18,7 +18,7 @@ return array( -

' . esc_html__( 'Oh hello. My name’s Doug, and you’ve found your way to my website. I’m an avid bird watcher, and I also broadcast my own radio show on Tuesday evenings at 11PM EDT.' ) . '

+

' . esc_html__( 'Oh hello. My name’s Doug, and you’ve found your way to my website. I’m an avid bird watcher, and I also broadcast my own radio show on Tuesday evenings at 11PM EDT.', 'twentytwentytwo' ) . '

diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-right.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-right.php index 7b4c9e7f5b..00abf63523 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-right.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-right.php @@ -6,14 +6,14 @@ return array( 'title' => __( 'About page with media on the right', 'twentytwentytwo' ), 'categories' => array( 'twentytwentytwo-pages' ), 'content' => ' -