[wp-trac] [WordPress Trac] #58197: $blog_id always returns 0 in get_site_icon_url hook

WordPress Trac noreply at wordpress.org
Thu Apr 27 21:16:00 UTC 2023


#58197: $blog_id always returns 0 in get_site_icon_url hook
--------------------------+------------------------
 Reporter:  revxx14       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.3
Component:  Customize     |     Version:  4.4
 Severity:  normal        |  Resolution:  invalid
 Keywords:  needs-patch   |     Focuses:  multisite
--------------------------+------------------------

Comment (by petitphp):

 @revxx14

 My example is a really naive. It was more to show that the value `0` can
 be treated as the current blog. You certainly can pull info from the
 database if you need !

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


More information about the wp-trac mailing list