WordPress.org

Make WordPress Core

Ticket #36749: 36749.2.diff

File 36749.2.diff, 707 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..d5655de 100644
    a b class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control 
    6060                </label>
    6161
    6262                <# if ( data.attachment && data.attachment.id ) { #>
     63                <# data.attachment.sizes = data.attachment.sizes || { 'full': { 'url': data.attachment.url } } #>
    6364                        <div class="attachment-media-view">
    6465                                <div class="site-icon-preview">
    6566                                        <div class="favicon-preview">