[wp-trac] [WordPress Trac] #23951: Add filter to all sidebar widget content

WordPress Trac noreply at wordpress.org
Fri Apr 5 18:53:20 UTC 2013


#23951: Add filter to all sidebar widget content
-----------------------------+-------------------------
 Reporter:  Jesper800        |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Widgets
  Version:                   |   Severity:  normal
 Keywords:  2nd-opinion      |
-----------------------------+-------------------------
 I'm looking for opinions of other people here before proposing an approach
 for this.

 What I'm missing, as far as widgets are concerned, is a filter for
 changing widget content. I would suggest something along the lines of a
 filter for the content in WP_Widget's display_callback method.

 Using this, small changes could be made to widgets while still maintaining
 upgradability when the plugin, core or theme updates the widget —
 something that is not the case when extending the widget and overriding
 the widget method.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23951>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list