Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49086, comment 4


Ignore:
Timestamp:
01/06/2022 02:32:21 AM (3 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49086, comment 4

    initial v1  
    11I can confirm this bug. If a site icon is manually deleted from the Media Library, the corresponding `site_icon` option is never updated or removed.
    22
    3 Although a developer can use `has_site_icon()` to determine the existence of a site icon, some might use `get_option( 'blog_icon' )` directly as @henrywright mentions.
     3Although a developer can use `has_site_icon()` to determine the existence of a site icon, some might use `get_option( 'blog_icon' )` directly as @henry.wright mentions.