[wp-trac] [WordPress Trac] #65098: get_site_icon_url() returns empty string even when fallback is defined, breaking wp-embed-site-icon in the_embed_site_title()
WordPress Trac
noreply at wordpress.org
Tue Apr 21 04:26:44 UTC 2026
#65098: get_site_icon_url() returns empty string even when fallback is defined,
breaking wp-embed-site-icon in the_embed_site_title()
--------------------------+---------------------
Reporter: pontocinza | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.1
Component: Embeds | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by pontocinza):
Replying to [comment:6 sabernhardt]:
> > Additionally, I can pinpoint when the issue started: it appeared
today, after I replaced a PNG for a WebP image (and it was not the site
icon file).
>
> In February, the site icon image was `pontocinza300.png`, which is no
longer at the same URL. If that was deleted or renamed, the `site_icon`
option would not be removed automatically. I noticed that you updated the
site icon image to `pontocinza512.webp` since opening this ticket, and
that icon displays for me now, at least in the browser tab (your site does
not allow embedding posts in a different site).
**
I don't remember when I started to use 'pontocinza512.webp' as the site
icon; it was a long time ago. I've tried to solve the issue by removing
the site icon and reinstating the very same file again, but of course it
didn't work.**
>
> > the problem may be triggered by WebP format support (or lack thereof)
>
> I did not have trouble in an embedded post or browser tab when I set a
WebP image as the icon in my site (Windows 11 with Chrome, Firefox and
Edge). However, //browser// support for WebP as a favicon might not be
good enough yet. [https://learn.microsoft.com/en-
us/answers/questions/2393228/favicon-not-showing-in-microsoft-edge-using-
webp-f Edge] and
[https://support.google.com/webmasters/thread/331465898?hl=en&msgid=331485208
Google forums] have reports from last year about WebP not displaying
correctly.
**
I'm a heavy user of PngOut and Tweakpng and love the PNG format, but I
have very few remaining PNG files in my site.**
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65098#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list