WordPress.org

Make WordPress Core

Changeset 37066


Ignore:
Timestamp:
03/23/2016 06:26:00 AM (6 years ago)
Author:
westonruter
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r37040 r37066  
    19761976        ) ) );
    19771977
    1978         $this->selective_refresh->add_partial( 'site_logo', array(
    1979             'settings'            => array( 'site_logo' ),
    1980             'selector'            => '.site-logo-link',
    1981             'render_callback'     => array( $this, '_render_site_logo_partial' ),
     1978        $this->selective_refresh->add_partial( 'custom_logo', array(
     1979            'settings'            => array( 'custom_logo' ),
     1980            'selector'            => '.custom-logo-link',
     1981            'render_callback'     => array( $this, '_render_custom_logo_partial' ),
    19821982            'container_inclusive' => true,
    19831983        ) );
Note: See TracChangeset for help on using the changeset viewer.