WordPress.org

Make WordPress Core

Ticket #36749: 36749.3.diff

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

    diff --git src/wp-includes/customize/class-wp-customize-site-icon-control.php src/wp-includes/customize/class-wp-customize-site-icon-control.php
    index 7442fec..9bbb7d1 100644
    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">