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.
Built from https://develop.svn.wordpress.org/branches/5.4@47839


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-05-21 09:13:09 +00:00
parent 8597b34d6f
commit 51997857ee
4 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -1667,7 +1667,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;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4.2-alpha-47833';
$wp_version = '5.4.2-alpha-47839';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.