[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
Wed Apr 22 12:54:25 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 has-test-info needs-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by manhar):

 Tested the patch successfully. The site icon now displays correctly in
 oEmbed cards instead of showing a broken image. The fallback to wp-logo-
 blue.png also works as expected when the icon is unavailable. The
 malformed srcset issue is also resolved.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65098#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list