From b5cd3f862ce7ac1451fd183b9f47d520a669ec5f Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Wed, 23 Mar 2016 06:26:00 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-customize-manager.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index 9a13b6d9a2..370ebdddcd 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -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, ) );