From d4c8830ae3e2c837e7bfbb6226b08a35f15e31b1 Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Fri, 5 Nov 2021 22:20:58 +0000 Subject: [PATCH] Bundled Theme: Ensure logo displays in Customizer previewer. Fixes an issue with the logo not displaying the Customizer previewer when changing the site title or description. Follow-up to [46271]. Props acosmin, boniu91, sabernhardt. Fixes #51337. Built from https://develop.svn.wordpress.org/trunk@52022 git-svn-id: http://core.svn.wordpress.org/trunk@51614 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../twentytwenty/classes/class-twentytwenty-customize.php | 5 +++-- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php b/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php index ca666df11d..d4b21ece58 100644 --- a/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php +++ b/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php @@ -49,8 +49,9 @@ if ( ! class_exists( 'TwentyTwenty_Customize' ) ) { $wp_customize->selective_refresh->add_partial( 'custom_logo', array( - 'selector' => '.header-titles [class*=site-]:not(.site-description)', - 'render_callback' => 'twentytwenty_customize_partial_site_logo', + 'selector' => '.header-titles [class*=site-]:not(.site-description)', + 'render_callback' => 'twentytwenty_customize_partial_site_logo', + 'container_inclusive' => true, ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index f1cea921d4..0ebb683d2a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52021'; +$wp_version = '5.9-alpha-52022'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.