[wp-trac] [WordPress Trac] #45054: Widget deletion: Add an "Are you sure you want to delete?" popup before it gets deleted

WordPress Trac noreply at wordpress.org
Fri Jul 25 14:57:38 UTC 2025


#45054: Widget deletion: Add an "Are you sure you want to delete?" popup before it
gets deleted
------------------------------------------+------------------------------
 Reporter:  Vibeque                       |       Owner:  (none)
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Widgets                       |     Version:  4.9.8
 Severity:  normal                        |  Resolution:
 Keywords:  dev-feedback has-screenshots  |     Focuses:  administration
------------------------------------------+------------------------------

Comment (by callumbw95):

 Hi Everyone,

 I have just taken a quick look into this, and tested this in the twenty
 twenty-one theme (the last yearly theme with widget support) and whilst we
 do not have a deletion confirmation popup, we do now have the ability to
 go back through our edits via the undo button. This is because core is
 using the newer widget editor based on the block editor, as opposed to the
 classic widget management. Whilst it does make sense to have confirmation
 when deleting something, as we can essentially undo the deletion it feels
 like the original issue where deleting a widget accidentally would cause
 data loss, has been resolved.

 Due to this and the extreme age of this ticket, I suggest we close this
 ticket as it no longer aligns with functionality current in WP is today.
 As of such I have attached the `close` tag so we can get an additional
 review before closing this ticket down, so please do add any feedback here
 if you think closing this ticket is a mistake. 😃

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


More information about the wp-trac mailing list