Make WordPress Core

Changeset 52022


Ignore:
Timestamp:
11/05/2021 10:19:12 PM (3 years ago)
Author:
hellofromTonya
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php

    r51657 r52022  
    5050                'custom_logo',
    5151                array(
    52                     'selector'        => '.header-titles [class*=site-]:not(.site-description)',
    53                     'render_callback' => 'twentytwenty_customize_partial_site_logo',
     52                    'selector'            => '.header-titles [class*=site-]:not(.site-description)',
     53                    'render_callback'     => 'twentytwenty_customize_partial_site_logo',
     54                    'container_inclusive' => true,
    5455                )
    5556            );
Note: See TracChangeset for help on using the changeset viewer.