WordPress.org

Make WordPress Core

Ticket #33930: wp_site_icon.patch

File wp_site_icon.patch, 906 bytes (added by Corphi, 6 years ago)

Patch.

  • src/wp-includes/general-template.php

     
    24512451        $meta_tags = array(
    24522452                sprintf( '<link rel="icon" href="%s" sizes="32x32" />', esc_url( get_site_icon_url( 32 ) ) ),
    24532453                sprintf( '<link rel="icon" href="%s" sizes="192x192" />', esc_url( get_site_icon_url( 192 ) ) ),
    2454                 sprintf( '<link rel="apple-touch-icon-precomposed" href="%s">', esc_url( get_site_icon_url( 180 ) ) ),
    2455                 sprintf( '<meta name="msapplication-TileImage" content="%s">', esc_url( get_site_icon_url( 270 ) ) ),
     2454                sprintf( '<link rel="apple-touch-icon-precomposed" href="%s" />', esc_url( get_site_icon_url( 180 ) ) ),
     2455                sprintf( '<meta name="msapplication-TileImage" content="%s" />', esc_url( get_site_icon_url( 270 ) ) ),
    24562456        );
    24572457
    24582458        /**