diff --git a/wp-includes/customize/class-wp-customize-site-icon-control.php b/wp-includes/customize/class-wp-customize-site-icon-control.php index 7442fecaa2..9bbb7d1d61 100644 --- a/wp-includes/customize/class-wp-customize-site-icon-control.php +++ b/wp-includes/customize/class-wp-customize-site-icon-control.php @@ -59,7 +59,7 @@ class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control <# } #> - <# if ( data.attachment && data.attachment.id ) { #> + <# if ( data.attachment && data.attachment.id && data.attachment.sizes ) { #>