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

WordPress Trac noreply at wordpress.org
Tue Jul 18 14:22:12 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:
Component:  Customize     |     Version:  4.4
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:  multisite
--------------------------+------------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch =>
 * milestone:  6.3 =>


Comment:

 Removing the milestone, as there were no changes to WordPress core here.

 We could probably add a note to the filter documentation that the value of
 `0` for `$blog_id` means the current blog. Feel free to reopen or create a
 new ticket for that :)

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


More information about the wp-trac mailing list