[wp-trac] [WordPress Trac] #65161: Give an error message when a non-image is uploaded for site icon

WordPress Trac noreply at wordpress.org
Wed May 6 12:48:31 UTC 2026


#65161: Give an error message when a non-image is uploaded for site icon
--------------------------+------------------------------
 Reporter:  Presskopp     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by intenzi):

 Thankyou, I went with `window.alert()` as the media selection modal
 overlays on top and thus existing notification systems like the
 `wp.Customize.notification` one would get hidden if utilised. This appears
 to be the correct way to display the error message to the user. Always
 open to any suggestions if you know of a way it can be improved!

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


More information about the wp-trac mailing list