[wp-trac] [WordPress Trac] #63475: Changes made to the site icon image through media library are not reflected on the site icon
WordPress Trac
noreply at wordpress.org
Thu May 22 14:51:34 UTC 2025
#63475: Changes made to the site icon image through media library are not reflected
on the site icon
----------------------------+------------------------------
Reporter: avinashbhosale | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.8
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
----------------------------+------------------------------
Comment (by nikunj8866):
@Presskopp @avinashbhosale When an attachment is edited in the WordPress
media editor (cropped or scaled), the image is regenerated only for
standard and theme-registered sizes. However, the Site Icon image sizes
(**site_icon-32**, **site_icon-180**, **site_icon-192**,
**site_icon-270**) defined via **WP_Site_Icon::additional_sizes()** are
not included in the regeneration process.
As a result:
- The edited image's attachment metadata (_wp_attachment_metadata) does
not contain updated site_icon sizes.
- These sizes still reference old cropped files, even though the original
was modified.
- Consequently, favicons and mobile icons may not reflect the new image.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63475#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list