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
This commit is contained in:
parent
44f50060eb
commit
d4c8830ae3
|
@ -49,8 +49,9 @@ if ( ! class_exists( 'TwentyTwenty_Customize' ) ) {
|
||||||
$wp_customize->selective_refresh->add_partial(
|
$wp_customize->selective_refresh->add_partial(
|
||||||
'custom_logo',
|
'custom_logo',
|
||||||
array(
|
array(
|
||||||
'selector' => '.header-titles [class*=site-]:not(.site-description)',
|
'selector' => '.header-titles [class*=site-]:not(.site-description)',
|
||||||
'render_callback' => 'twentytwenty_customize_partial_site_logo',
|
'render_callback' => 'twentytwenty_customize_partial_site_logo',
|
||||||
|
'container_inclusive' => true,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue