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 58fea53757..5f18563b14 100644
|
|
class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control |
67 | 67 | <img src="<?php echo esc_url( admin_url( 'images/' . ( is_rtl() ? 'browser-rtl.png' : 'browser.png' ) ) ); ?>" class="browser-preview" width="182" alt="" /> |
68 | 68 | |
69 | 69 | <div class="favicon"> |
70 | | <img src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/> |
| 70 | <img src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/> |
71 | 71 | </div> |
72 | 72 | <span class="browser-title" aria-hidden="true"><?php bloginfo( 'name' ); ?></span> |
73 | 73 | </div> |
74 | | <img class="app-icon-preview" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/> |
| 74 | <img class="app-icon-preview" src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/> |
75 | 75 | </div> |
76 | 76 | <# } #> |
77 | 77 | <div class="actions"> |