WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 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:

Description

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)

comment:1 ryan5 years ago

  • Component changed from Administration to Widgets
  • Owner anonymous deleted

comment:3 Denis-de-Bernardy5 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.

comment:5 Denis-de-Bernardy5 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.

comment:6 Denis-de-Bernardy5 years ago

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

See #9695 and #9511

Note: See TracTickets for help on using tickets.