Make WordPress Core

Opened 18 months ago

Last modified 5 months ago

#45054 new enhancement

Widget deletion: Add an "Are you sure you want to delete?" popup before it gets deleted

Reported by: Vibeque Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.8
Component: Widgets Keywords: dev-feedback needs-design-feedback
Focuses: administration Cc:


For the widgets the "Delete" and "Done" buttons are close to each other, and if you accidentally click Delete, there is no obvious option to restore the widget. Not great if you have added lots of html code... I would have liked to see here a "Are you sure you want to delete this widget?".

Attachments (3)

Widgets - too easy to delete by mistake.mp4 (248.2 KB) - added by Vibeque 18 months ago.
delete widget.jpg (177.6 KB) - added by marketingwebbing 18 months ago.
alert-popup.png (16.6 KB) - added by mukesh27 18 months ago.

Download all attachments as: .zip

Change History (7)

#1 @marketingwebbing
18 months ago

We think it's a very good proposal, from the UX design, will help the user to avoid possible errors.
To contribute with your proposal, we attach an image that we have created to help to see how it would look like.

#2 @mukesh27
18 months ago

  • Focuses administration added
  • Keywords dev-feedback added

Hi @Vibeque, Welcome to WordPress Trac! Thank you for your ticket and good idea to add jQuery alert popup.

@marketingwebbing, No need to add any popup jquery or design we can use jQery alert popup with attached image and wait for ux team feedback.

#3 @karmatosed
11 months ago

  • Keywords needs-design-feedback added; ux-feedback removed

I am just swapping the keyword to 'needs design feedback', which is being used now for design feedback.

#4 @swb1192
5 months ago

Any word on next steps for this? Just deleted an important widget without warning today and was surprised to see this stagnant.

Note: See TracTickets for help on using tickets.