WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 16 months ago

#19159 accepted enhancement

When Inactive Widgets list gets long it is hard to clear

Reported by: westi Owned by: cdog
Milestone: Future Release Priority: normal
Severity: minor Version: 3.3
Component: Widgets Keywords: westi-likes 3.4-early has-patch ux-feedback needs-testing
Focuses: Cc:

Description

If you have a lot of inactive widgets it can be really hard manual labour to remove them all.

It would be much nicer if there was a delete all button like this plugin adds http://wordpress.org/extend/plugins/remove-inactive-widgets/

Attachments (4)

19159.diff (4.5 KB) - added by cdog 20 months ago.
19159.jpg (19.9 KB) - added by cdog 20 months ago.
19159.2.diff (4.8 KB) - added by cdog 16 months ago.
19159.3.diff (4.9 KB) - added by cdog 16 months ago.

Download all attachments as: .zip

Change History (12)

comment:1 cdog20 months ago

  • Cc catalin.dogaru@… added

comment:2 cdog20 months ago

  • Keywords has-patch added; needs-patch removed

attachment:19159.diff adds support to clear asynchronously the Inactive Widgets list. It works properly with JavaScript disabled too. The output can be previewed here: attachment:19159.jpg.

Last edited 19 months ago by cdog (previous) (diff)

cdog20 months ago

cdog20 months ago

comment:3 cdog20 months ago

  • Owner set to cdog
  • Status changed from new to accepted

comment:4 cdog19 months ago

  • Keywords ux-feedback added

cdog16 months ago

comment:5 cdog16 months ago

  • Keywords needs-testing added

attachment:19159.2.diff updates my previous submission so the patch can be tested against the latest revision (23132).

While updating I've noticed a possible bug with the spinner which I reported here: ticket:22839.

Last edited 16 months ago by cdog (previous) (diff)

cdog16 months ago

comment:6 cdog16 months ago

attachment:19159.3.diff uses .css() to set the display property to inline-block instead of .show() to avoid ticket:22839.

comment:7 nacin16 months ago

  • Cc lessbloat added

Adding lessbloat as CC for a potential user test.

comment:8 ocean9016 months ago

#23080 was marked as a duplicate.

Note: See TracTickets for help on using tickets.