Customize: Replace site logo with custom logo terminology, fixing failure to preview logo changes.
Fixes regression introduced in [37040] which was from a patch that did not include the terminology change. See #36255. Fixes #35855. git-svn-id: https://develop.svn.wordpress.org/trunk@37066 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1395ff6db4
commit
b5cd3f862c
@ -1975,10 +1975,10 @@ final class WP_Customize_Manager {
|
||||
),
|
||||
) ) );
|
||||
|
||||
$this->selective_refresh->add_partial( 'site_logo', array(
|
||||
'settings' => array( 'site_logo' ),
|
||||
'selector' => '.site-logo-link',
|
||||
'render_callback' => array( $this, '_render_site_logo_partial' ),
|
||||
$this->selective_refresh->add_partial( 'custom_logo', array(
|
||||
'settings' => array( 'custom_logo' ),
|
||||
'selector' => '.custom-logo-link',
|
||||
'render_callback' => array( $this, '_render_custom_logo_partial' ),
|
||||
'container_inclusive' => true,
|
||||
) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user