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 d21395c39c..e57e955be7 100644
|
|
class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control |
68 | 68 | <div class="favicon"> |
69 | 69 | <img src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/> |
70 | 70 | </div> |
71 | | <span class="browser-title" aria-hidden="true"><# print( '<?php bloginfo( 'name' ); ?>' ) #></span> |
| 71 | <span class="browser-title" aria-hidden="true"><# print( '<?php str_replace( '\\', '\\\\', get_bloginfo( 'name' ) ); ?>' ) #></span> |
72 | 72 | </div> |
73 | 73 | <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' ); ?>"/> |
74 | 74 | </div> |
diff --git src/wp-includes/media-template.php src/wp-includes/media-template.php
index 43053edfa9..637feb5187 100644
|
|
function wp_print_media_templates() { |
1448 | 1448 | <div class="favicon"> |
1449 | 1449 | <img id="preview-favicon" src="{{ data.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/> |
1450 | 1450 | </div> |
1451 | | <span class="browser-title" aria-hidden="true"><# print( '<?php bloginfo( 'name' ); ?>' ) #></span> |
| 1451 | <span class="browser-title" aria-hidden="true"><# print( '<?php str_replace( '\\', '\\\\', get_bloginfo( 'name' ) ); ?>' ) #></span> |
1452 | 1452 | </div> |
1453 | 1453 | |
1454 | 1454 | <strong aria-hidden="true"><?php _e( 'As an app icon' ); ?></strong> |