Make WordPress Core


Ignore:
Timestamp:
05/20/2020 10:34:18 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Customize: Load the default site icon from the wp-includes directory.

Files inside the wp-admin directory may not be publicly available.

Follow-up to [36635], [47018].

Props whyisjake, finomeno, ocean90.
Fixes #50131.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r47808 r47832  
    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}
Note: See TracChangeset for help on using the changeset viewer.