Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#40844 reopened enhancement

Customize: Bulk delete widgets

Reported by: celloexpressions Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.9
Component: Customize Keywords: needs-patch
Focuses: ui, javascript Cc:


It can be extremely frustrating to delete several widgets at once, which often happens when first setting up a theme (removing default widgets). Currently, you have to expand the widget control, then locate the remove button at the bottom, which is in a different location depending on the length of the widget control.

Once it's possible to easily recover deleted widgets (via the inactive widgets functionality), we can safely introduce an easier way to delete widgets. An obvious approach would to bring over the functionality in menus, where a bulk-deletion mode is exposed when adding new menu items. Once that's in place, the bulk-delete design can be iterated for both menus and widgets in parallel.

Change History (2)

#1 @westonruter
4 years ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

I think this makes sense to be addressed as part of #39907.

#2 @celloexpressions
4 years ago

  • Milestone set to Future Release
  • Resolution duplicate deleted
  • Status changed from closed to reopened

While a delete all button is also useful, an actual selective bulk-delete feature is also a common use case, for any time that you're removing multiple but not all widgets from an area (or at all). In fact, if themes have better defaults and widget mapping is improved when switching themes, selective bulk-deletion is likely to be used much more frequently than "delete all".

There are also usability benefits to providing better parity between widgets and menus here, particularly since there is already an established UI pattern for this feature.

Note: See TracTickets for help on using tickets.