Skip to content

Commit

Permalink
Customize: Move the WordPress logo with a white background to the `wp…
Browse files Browse the repository at this point in the history
…-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.
Fixes #49798.

git-svn-id: https://develop.svn.wordpress.org/trunk@47838 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed May 21, 2020
1 parent 09a6234 commit 174ead2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified src/wp-admin/images/w-logo-blue.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/wp-includes/functions.php
Expand Up @@ -1668,7 +1668,7 @@ function do_favicon() {
*/
do_action( 'do_faviconico' );

wp_redirect( get_site_icon_url( 32, includes_url( 'images/w-logo-blue.png' ) ) );
wp_redirect( get_site_icon_url( 32, includes_url( 'images/w-logo-blue-white-bg.png' ) ) );
exit;
}

Expand Down
Binary file added src/wp-includes/images/w-logo-blue-white-bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 174ead2

Please sign in to comment.