Make WordPress Core


Ignore:
Timestamp:
05/21/2020 09:11:47 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Customize: Move the WordPress logo with a white background to the wp-includes directory.

This ensures that the image used as a default site icon looks good on a dark background.

The image was previously changed in the wp-admin directory, but the site icon is now loaded from wp-includes.

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

Props ocean90.
Merges [47838] to the 5.4 branch.
Fixes #49798.

Location:
branches/5.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.4

  • branches/5.4/src/wp-includes/functions.php

    r47833 r47839  
    16681668    do_action( 'do_faviconico' );
    16691669
    1670     wp_redirect( get_site_icon_url( 32, includes_url( 'images/w-logo-blue.png' ) ) );
     1670    wp_redirect( get_site_icon_url( 32, includes_url( 'images/w-logo-blue-white-bg.png' ) ) );
    16711671    exit;
    16721672}
Note: See TracChangeset for help on using the changeset viewer.