WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#23008 new feature request

Add a Hook To Hide Inactive Widgets

Reported by: BFTrick Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 3.5
Component: Widgets Keywords: 2nd-opinion ux-feedback
Focuses: Cc:

Description

Hello,

This is my first feature request so hopefully I'm going through the process correctly. Onto the request...

Adding a hook to remove or hide the Inactive Widgets sidebar on the WordPress Admin Widgets page would be very useful for developers who don't use the area and want to be able to hide it for better UX.

If this is approved I would love to submit a patch. :)

Change History (4)

comment:1 @BFTrick2 years ago

  • Cc bftrick@… added

comment:2 @BFTrick2 years ago

  • Keywords ux-feedback added

comment:3 @ocean902 years ago

What's wrong with

#inactive-sidebar {
    display: none;
}

?

comment:4 @BFTrick2 years ago

I figure that writing this programmatically would be better in case CSS id's & classes or HTML structure would ever change for any reason.

Writing this programmatically might be better for future proofing against plugins or themes that could also manipulate the widget area and all sorts of crazy code that adds extra divs, classes, ids, etc.

Thoughts?

Note: See TracTickets for help on using tickets.