WordPress.org

Make WordPress Core

Ticket #36749: 36749.diff

File 36749.diff, 698 bytes (added by neverything, 3 years ago)
  • src/wp-includes/customize/class-wp-customize-site-icon-control.php

    diff --git a/src/wp-includes/customize/class-wp-customize-site-icon-control.php b/src/wp-includes/customize/class-wp-customize-site-icon-control.php
    index 7442fec..d8e930e 100644
    a b class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control 
    5959                        <# } #>
    6060                </label>
    6161
    62                 <# if ( data.attachment && data.attachment.id ) { #>
     62                <# if ( data.attachment && data.attachment.id && data.attachment.sizes) { #>
    6363                        <div class="attachment-media-view">
    6464                                <div class="site-icon-preview">
    6565                                        <div class="favicon-preview">