Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/wp-includes/css/wp-embed-template.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/embed.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Binary file added src/wp-includes/images/w-logo-gray-white-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/wp-includes/images/w-logo-gray-white-bg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/phpunit/tests/general/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.' );
Expand Down Expand Up @@ -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 );

Expand Down
Loading