From 56b4c0e8389ea5ad2adfa80b27959649ba9bf212 Mon Sep 17 00:00:00 2001 From: jffng Date: Mon, 17 Jan 2022 15:43:59 +0000 Subject: [PATCH] Twenty Twenty-Two: Sync updates from GitHub from RC3. 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], [52222], [52283], [52335], [52375], [52392], [52430], and [52555]. It includes fixes to the group, cover, and template part block padding and removes unnecessary group block wrappers from many patterns. To view the full set of changes, visit https://github.com/WordPress/twentytwentytwo/compare/69d5c512c614bb282d4e4641c19754da2cadb406...91f8748566b8d2d0f7ba5f7552affc0178b9f85b. Props kjellr, richtabor, audrasjb. See #54318. Built from https://develop.svn.wordpress.org/trunk@52589 git-svn-id: http://core.svn.wordpress.org/trunk@52177 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../inc/patterns/footer-about-title-logo.php | 4 +--- .../themes/twentytwentytwo/inc/patterns/footer-blog.php | 4 +--- .../themes/twentytwentytwo/inc/patterns/footer-dark.php | 4 +--- .../themes/twentytwentytwo/inc/patterns/footer-logo.php | 2 -- .../twentytwentytwo/inc/patterns/footer-navigation.php | 2 -- .../inc/patterns/footer-query-images-title-citation.php | 4 +--- .../inc/patterns/footer-query-title-citation.php | 4 +--- .../inc/patterns/footer-title-tagline-social.php | 4 +--- .../patterns/header-centered-logo-black-background.php | 4 +--- .../inc/patterns/header-centered-logo.php | 4 +--- .../patterns/header-centered-title-navigation-social.php | 4 +--- .../twentytwentytwo/inc/patterns/header-large-dark.php | 6 ++---- .../patterns/header-logo-navigation-gray-background.php | 4 +--- .../header-logo-navigation-social-black-background.php | 4 +--- .../twentytwentytwo/inc/patterns/header-small-dark.php | 6 ++---- .../inc/patterns/header-text-only-green-background.php | 4 +--- .../inc/patterns/header-text-only-salmon-background.php | 4 +--- .../header-text-only-with-tagline-black-background.php | 4 +--- .../themes/twentytwentytwo/parts/header-large-dark.html | 6 ++---- .../themes/twentytwentytwo/parts/header-small-dark.html | 6 ++---- wp-content/themes/twentytwentytwo/style.css | 9 +++++++++ wp-includes/version.php | 2 +- 22 files changed, 32 insertions(+), 63 deletions(-) diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/footer-about-title-logo.php b/wp-content/themes/twentytwentytwo/inc/patterns/footer-about-title-logo.php index dfd70d55e8..dab9b04a86 100644 --- a/wp-content/themes/twentytwentytwo/inc/patterns/footer-about-title-logo.php +++ b/wp-content/themes/twentytwentytwo/inc/patterns/footer-about-title-logo.php @@ -6,8 +6,7 @@ return array( 'title' => __( 'Footer with text, title, and logo', 'twentytwentytwo' ), 'categories' => array( 'footer' ), 'blockTypes' => array( 'core/template-part/footer' ), - 'content' => ' -
+ 'content' => '
@@ -29,6 +28,5 @@ return array(
-
', ); diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/footer-blog.php b/wp-content/themes/twentytwentytwo/inc/patterns/footer-blog.php index e7f09f3976..c1306cbb83 100644 --- a/wp-content/themes/twentytwentytwo/inc/patterns/footer-blog.php +++ b/wp-content/themes/twentytwentytwo/inc/patterns/footer-blog.php @@ -6,8 +6,7 @@ return array( 'title' => __( 'Blog footer', 'twentytwentytwo' ), 'categories' => array( 'footer' ), 'blockTypes' => array( 'core/template-part/footer' ), - 'content' => ' -
+ 'content' => '
@@ -52,6 +51,5 @@ return array( ) . '

-
', ); diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/footer-dark.php b/wp-content/themes/twentytwentytwo/inc/patterns/footer-dark.php index 0eacf657a6..50259ebe3f 100644 --- a/wp-content/themes/twentytwentytwo/inc/patterns/footer-dark.php +++ b/wp-content/themes/twentytwentytwo/inc/patterns/footer-dark.php @@ -6,8 +6,7 @@ return array( 'title' => __( 'Dark footer with title and citation', 'twentytwentytwo' ), 'categories' => array( 'footer' ), 'blockTypes' => array( 'core/template-part/footer' ), - 'content' => ' -
+ 'content' => ' -
', ); diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/footer-logo.php b/wp-content/themes/twentytwentytwo/inc/patterns/footer-logo.php index f7764a9526..caa44e8c34 100644 --- a/wp-content/themes/twentytwentytwo/inc/patterns/footer-logo.php +++ b/wp-content/themes/twentytwentytwo/inc/patterns/footer-logo.php @@ -7,7 +7,6 @@ return array( 'categories' => array( 'footer' ), 'blockTypes' => array( 'core/template-part/footer' ), 'content' => ' -
@@ -20,6 +19,5 @@ return array( ) . '

-
', ); diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/footer-navigation.php b/wp-content/themes/twentytwentytwo/inc/patterns/footer-navigation.php index 32bdecede6..79792c730d 100644 --- a/wp-content/themes/twentytwentytwo/inc/patterns/footer-navigation.php +++ b/wp-content/themes/twentytwentytwo/inc/patterns/footer-navigation.php @@ -7,7 +7,6 @@ return array( 'categories' => array( 'footer' ), 'blockTypes' => array( 'core/template-part/footer' ), 'content' => ' -
@@ -22,6 +21,5 @@ return array( ) . '

-
', ); diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-images-title-citation.php b/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-images-title-citation.php index 470ccfd9ff..a79c1d44cd 100644 --- a/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-images-title-citation.php +++ b/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-images-title-citation.php @@ -6,8 +6,7 @@ return array( 'title' => __( 'Footer with query, featured images, title, and citation', 'twentytwentytwo' ), 'categories' => array( 'footer' ), 'blockTypes' => array( 'core/template-part/footer' ), - 'content' => ' -
+ 'content' => '
-
', ); diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-title-citation.php b/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-title-citation.php index 2d6999f081..13bb43df5c 100644 --- a/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-title-citation.php +++ b/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-title-citation.php @@ -6,8 +6,7 @@ return array( 'title' => __( 'Footer with query, title, and citation', 'twentytwentytwo' ), 'categories' => array( 'footer' ), 'blockTypes' => array( 'core/template-part/footer' ), - 'content' => ' -
+ 'content' => '
-
', ); diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/footer-title-tagline-social.php b/wp-content/themes/twentytwentytwo/inc/patterns/footer-title-tagline-social.php index 066b760c56..84d888b22d 100644 --- a/wp-content/themes/twentytwentytwo/inc/patterns/footer-title-tagline-social.php +++ b/wp-content/themes/twentytwentytwo/inc/patterns/footer-title-tagline-social.php @@ -6,8 +6,7 @@ return array( 'title' => __( 'Footer with title, tagline, and social links on a dark background', 'twentytwentytwo' ), 'categories' => array( 'footer' ), 'blockTypes' => array( 'core/template-part/footer' ), - 'content' => ' -
+ 'content' => ' ', ); diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php b/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php index c6cb973290..c2cac8dcef 100644 --- a/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php +++ b/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php @@ -6,8 +6,7 @@ return array( 'title' => __( 'Header with centered logo and black background', 'twentytwentytwo' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), - 'content' => ' -
+ 'content' => ' -
', ); diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo.php b/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo.php index f07aa1e324..a116c39086 100644 --- a/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo.php +++ b/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo.php @@ -6,8 +6,7 @@ return array( 'title' => __( 'Header with centered logo', 'twentytwentytwo' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), - 'content' => ' -
+ 'content' => '
-
', ); diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-title-navigation-social.php b/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-title-navigation-social.php index feeb881a1e..2e4dc451d1 100644 --- a/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-title-navigation-social.php +++ b/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-title-navigation-social.php @@ -6,8 +6,7 @@ return array( 'title' => __( 'Centered header with navigation, social links, and salmon background', 'twentytwentytwo' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), - 'content' => ' -
+ 'content' => ' -
', ); diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/header-large-dark.php b/wp-content/themes/twentytwentytwo/inc/patterns/header-large-dark.php index 07c2540e0c..dfb8c6f371 100644 --- a/wp-content/themes/twentytwentytwo/inc/patterns/header-large-dark.php +++ b/wp-content/themes/twentytwentytwo/inc/patterns/header-large-dark.php @@ -6,8 +6,7 @@ return array( 'title' => __( 'Large header with dark background', 'twentytwentytwo' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), - 'content' => ' -
+ 'content' => '