Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#11362 closed enhancement (fixed)

Pass instance & id_base to the widget_title filter

Reported by: scribu Owned by: azaozz
Priority: normal Milestone: 3.0
Component: Widgets Version:
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

[11792] passed the widget instance for text widgets.

Proposed patch adds that and also the widget type ($this->id_base) to all widget_title filters.

Attachments (1)

widget_title_args.diff​ (4.5 KB ) - added by scribu 17 years ago.

Download all attachments as: .zip

Change History (4)

#1 @Denis-de-Bernardy
17 years ago

Re r11792... I'm already dreading the moment where a plugin author mindlessly creates a function that expects two arguments on the widget_title filter. :-)

#2 @scribu
17 years ago

  • Keywords commit added

Patch still aplies clean.

#3 @nacin
17 years ago

  • Resolution → fixed
  • Status new → closed

(In [13248]) Always pass widget instance to widget_title filter. Also add widget type, props scribu, fixes #11362

Note: See TracTickets for help on using tickets.