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.

git-svn-id: https://develop.svn.wordpress.org/trunk@52022 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tonya Mork
2021-11-05 22:19:12 +00:00
parent 3d679af2a7
commit 76cf854334
@@ -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,
)
);