WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 4 months ago

#23008 new enhancement

Add a Hook To Hide Inactive Widgets

Reported by: BFTrick Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.5
Component: Widgets Keywords: dev-feedback needs-patch
Focuses: administration 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 (5)

comment:1 @BFTrick3 years ago

  • Cc bftrick@… added

comment:2 @BFTrick3 years ago

  • Keywords ux-feedback added

comment:3 @ocean903 years ago

What's wrong with

#inactive-sidebar {
    display: none;
}

?

comment:4 @BFTrick3 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?

comment:5 @chriscct74 months ago

  • Focuses administration added
  • Keywords dev-feedback needs-patch added; 2nd-opinion ux-feedback removed
  • Severity changed from minor to normal
  • Type changed from feature request to enhancement
Note: See TracTickets for help on using tickets.