Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#9852 closed defect (bug) (fixed)

widget_display_callback hook is missing an argument

Reported by: denis-de-bernardy's profile Denis-de-Bernardy Owned by: azaozz's profile azaozz
Milestone: 2.8 Priority: normal
Severity: major Version: 2.8
Component: Widgets Keywords: has-patch tested commit
Focuses: Cc:

Description

without it, you cannot override the widget entirely.

Attachments (1)

widget_display_callback.diff (646 bytes) - added by Denis-de-Bernardy 17 years ago.

Download all attachments as: .zip

Change History (5)

#1 @Denis-de-Bernardy
17 years ago

  • Keywords has-patch tested commit added

#2 @azaozz
17 years ago

Can probably access this with:

$wp_registered_widgets[ $settings['id'] ]

but may as well add it to the filter for convenience.

#3 @azaozz
17 years ago

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

(In [11374]) Add param to the widget_display_callback hook, props Denis-de-Bernardy, fixes #9852

#4 @Denis-de-Bernardy
17 years ago

Thanks. I'll give the other two hooks a shot and will report back if any extra args/changes are needed.

Note: See TracTickets for help on using tickets.