#42226 closed defect (bug) (fixed)
Normalise access widget_title in WP_Widget_Media
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | 4.8 |
Component: | Widgets | Keywords: | has-patch |
Focuses: | template | Cc: |
Description
It seems that in most default widgets, the filter widget_title is always available, even if the user did not provide a title. In the abstract class WP_Widget_Media however, this is not the case, the apply_filters function will only be called if a title property exists in $instance. This is of course impractical when one wants to apply a hook callback to all default widget titles.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
patch