[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
Sat Apr 18 20:15:55 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:  needs-patch   |     Focuses:
--------------------------+---------------------

Comment (by sabernhardt):

 Other functions:
 - `site_icon_url()`, `do_favicon()` and the multisite function
 `wp_admin_bar_my_sites_menu()` also use output from `get_site_icon_url()`
 without checking the value first.
 - `WP_REST_Server::add_site_icon_to_index()` assigns a URL from
 `get_site_icon_url()`, but I do not know if that is a (potential) problem.

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


More information about the wp-trac mailing list