Make WordPress Core


Ignore:
Timestamp:
06/18/2026 02:04:14 AM (3 months ago)
Author:
westonruter
Message:

Embeds: Replace the blue site icon fallback with the gray WordPress logo.

Adds gray WordPress logo image files (w-logo-gray-white-bg.png and w-logo-gray-white-bg.svg) to wp-includes/images/, and updates the_embed_site_title() and do_favicon() to use the new images as the fallback site icon, maintaining visual consistency with the login screen logo updated in r61989.

Replaces CSS custom property references for focus styles in the embed template (--wp-admin-theme-color and --wp-admin-border-width-focus) with their literal values, as these admin-theme variables are not defined in the oEmbed template context.

Developed in https://github.com/WordPress/wordpress-develop/pull/11293.
Follow-up to r61652, r61989, r62502.

Props sabernhardt, huzaifaalmesbah, westonruter, jamesbregenzer.
See #64708.
Fixes #64877.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r62497 r62521  
    17531753        do_action( 'do_faviconico' );
    17541754
    1755         wp_redirect( get_site_icon_url( 32, includes_url( 'images/w-logo-blue-white-bg.png' ) ) );
     1755        wp_redirect( get_site_icon_url( 32, includes_url( 'images/w-logo-gray-white-bg.png' ) ) );
    17561756        exit;
    17571757}
Note: See TracChangeset for help on using the changeset viewer.