diff --git a/src/wp-includes/css/wp-embed-template.css b/src/wp-includes/css/wp-embed-template.css index 6118ab4d2b6d1..9bf606589a773 100644 --- a/src/wp-includes/css/wp-embed-template.css +++ b/src/wp-includes/css/wp-embed-template.css @@ -217,7 +217,7 @@ p.wp-embed-heading { .wp-embed-share-dialog-open:focus .dashicons, .wp-embed-share-dialog-close:focus .dashicons { - box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); + box-shadow: 0 0 0 1.5px #3858e9; /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; border-radius: 100%; diff --git a/src/wp-includes/embed.php b/src/wp-includes/embed.php index 636f6acd94e6b..10558caed6f8c 100644 --- a/src/wp-includes/embed.php +++ b/src/wp-includes/embed.php @@ -1233,7 +1233,7 @@ function print_embed_sharing_dialog() { * @since 4.5.0 */ function the_embed_site_title(): void { - $fallback_icon_url = includes_url( 'images/w-logo-blue.png' ); + $fallback_icon_url = includes_url( 'images/w-logo-gray-white-bg.svg' ); $site_icon_url = get_site_icon_url( 32, $fallback_icon_url ); $icon_img = ''; diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index c297864859aa4..d7d2ff3fed89a 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -1752,7 +1752,7 @@ function do_favicon() { */ do_action( 'do_faviconico' ); - wp_redirect( get_site_icon_url( 32, includes_url( 'images/w-logo-blue-white-bg.png' ) ) ); + wp_redirect( get_site_icon_url( 32, includes_url( 'images/w-logo-gray-white-bg.png' ) ) ); exit; } diff --git a/src/wp-includes/images/w-logo-gray-white-bg.png b/src/wp-includes/images/w-logo-gray-white-bg.png new file mode 100644 index 0000000000000..0adbfad427550 Binary files /dev/null and b/src/wp-includes/images/w-logo-gray-white-bg.png differ diff --git a/src/wp-includes/images/w-logo-gray-white-bg.svg b/src/wp-includes/images/w-logo-gray-white-bg.svg new file mode 100644 index 0000000000000..6cb698ca9a607 --- /dev/null +++ b/src/wp-includes/images/w-logo-gray-white-bg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/phpunit/tests/general/template.php b/tests/phpunit/tests/general/template.php index 20f6d0012b3a7..00b683971a6a0 100644 --- a/tests/phpunit/tests/general/template.php +++ b/tests/phpunit/tests/general/template.php @@ -860,7 +860,7 @@ public function test_the_embed_site_title_uses_fallback_when_attachment_url_fail add_filter( 'wp_get_attachment_image_src', '__return_false' ); $output = get_echo( 'the_embed_site_title' ); - $fallback = includes_url( 'images/w-logo-blue.png' ); + $fallback = includes_url( 'images/w-logo-gray-white-bg.svg' ); $processor = new WP_HTML_Tag_Processor( $output ); $this->assertTrue( $processor->next_tag( 'IMG' ), 'Expected IMG tag with fallback.' ); @@ -914,7 +914,7 @@ public function test_the_embed_site_title_omits_srcset_when_1x_and_2x_urls_are_i */ public function test_the_embed_site_title_uses_fallback_without_srcset_when_no_site_icon_set(): void { $output = get_echo( 'the_embed_site_title' ); - $fallback = includes_url( 'images/w-logo-blue.png' ); + $fallback = includes_url( 'images/w-logo-gray-white-bg.svg' ); $processor = new WP_HTML_Tag_Processor( $output );