mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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,
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user