Make WordPress Core

Opened 12 years ago

Last modified 5 years ago

#23008 new enhancement

Add a Hook To Hide Inactive Widgets

Reported by: bftrick's profile BFTrick Owned by:
Milestone: 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)

#1 @BFTrick
12 years ago

  • Cc bftrick@… added

#2 @BFTrick
12 years ago

  • Keywords ux-feedback added

#3 @ocean90
12 years ago

What's wrong with

#inactive-sidebar {
    display: none;
}

?

#4 @BFTrick
12 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?

#5 @chriscct7
9 years 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.