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 Owned by: azaozz
Priority: normal Milestone: 2.8
Component: Widgets Version: 2.8
Severity: major Keywords: has-patch tested commit
Cc: Focuses:

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

  • Resolutionfixed
  • Status newclosed

(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.