WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#4218 closed defect (bug) (fixed)

Widgets menu still appear when disabled

Reported by: spikeyslam Owned by: rob1n
Milestone: 2.2 Priority: normal
Severity: normal Version:
Component: Administration Keywords: widgets admin
Focuses: Cc:

Description

When Widgets is disabled via: remove_action('plugins_loaded','wp_maybe_load_widgets',0); The Widgets menu is still displayed under Presentation.

Attachments (1)

4218.diff (1.1 KB) - added by rob1n 8 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 @rob1n8 years ago

  • Owner changed from anonymous to rob1n

Yeah, I know why this is happening. I'll fix this in an hour.

@rob1n8 years ago

comment:2 @rob1n8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5376]) Don't show Widgets admin page if core widgets aren't enabled. fixes #4218

Note: See TracTickets for help on using tickets.