Index: trunk/src/wp-includes/customize/class-wp-customize-site-icon-control.php =================================================================== --- trunk/src/wp-includes/customize/class-wp-customize-site-icon-control.php (revision 35389) +++ trunk/src/wp-includes/customize/class-wp-customize-site-icon-control.php (revision 36698) @@ -42,3 +42,70 @@ add_action( 'customize_controls_print_styles', 'wp_site_icon', 99 ); } + + /** + * Render a JS template for the content of the site icon control. + * + * @since 4.5.0 + */ + public function content_template() { + ?> + + + <# if ( data.attachment && data.attachment.id ) { #> +