Make WordPress Core

Ticket #50131: 50131.diff

File 50131.diff, 1.2 KB (added by whyisjake, 5 years ago)
  • src/wp-includes/embed.php

     
    11811181        $site_title = sprintf(
    11821182                '<a href="%s" target="_top"><img src="%s" srcset="%s 2x" width="32" height="32" alt="" class="wp-embed-site-icon"/><span>%s</span></a>',
    11831183                esc_url( home_url() ),
    1184                 esc_url( get_site_icon_url( 32, admin_url( 'images/w-logo-blue.png' ) ) ),
    1185                 esc_url( get_site_icon_url( 64, admin_url( 'images/w-logo-blue.png' ) ) ),
     1184                esc_url( get_site_icon_url( 32, includes_url( 'images/w-logo-blue.png' ) ) ),
     1185                esc_url( get_site_icon_url( 64, includes_url( 'images/w-logo-blue.png' ) ) ),
    11861186                esc_html( get_bloginfo( 'name' ) )
    11871187        );
    11881188
  • src/wp-includes/functions.php

     
    16681668         */
    16691669        do_action( 'do_faviconico' );
    16701670
    1671         wp_redirect( get_site_icon_url( 32, admin_url( 'images/w-logo-blue.png' ) ) );
     1671        wp_redirect( get_site_icon_url( 32, includes_url( 'images/w-logo-blue.png' ) ) );
    16721672        exit;
    16731673}
    16741674