Make WordPress Core

Opened 12 years ago

Closed 11 years ago

#6161 closed enhancement (fixed)

Getting inactive and installed Widgets

Reported by: dcole07 Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.5
Component: Widgets Keywords:
Focuses: Cc:
PR Number:


Maybe there's just a lack of documentation, but we should be able to call inactive, active, and installed widgets like the widget page under design in the dashboard for custom pages created by plugins and themes. This should be or is under get_options(). I know there is "sidebars_widgets", but this only gets widgets that are being used by a sidebar, not inactive widgets.

Change History (6)

#1 @ryan
11 years ago

  • Component changed from Administration to Widgets
  • Owner anonymous deleted

#3 @Denis-de-Bernardy
11 years ago

  • Milestone changed from 2.9 to 2.8
  • Resolution set to fixed
  • Status changed from new to closed

in trunk, there is a special "sidebar", in the sidebars_widgets option, that contains all of the unused widgets.

#5 @Denis-de-Bernardy
11 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Type changed from defect (bug) to enhancement

might need to be reopened depending on how #9695 gets fixed.

#6 @Denis-de-Bernardy
11 years ago

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

See #9695 and #9511

Note: See TracTickets for help on using tickets.