[wp-trac] [WordPress Trac] #28790: Apply widget_update_callback filter, before update() is called on a widget instance.

WordPress Trac noreply at wordpress.org
Tue Jul 8 22:03:25 UTC 2014


#28790: Apply widget_update_callback filter, before update() is called on a widget
instance.
--------------------------+----------------------
 Reporter:  jayarjo       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Widgets       |     Version:  3.9.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:  close         |     Focuses:
--------------------------+----------------------
Changes (by westonruter):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Agreed that this is invalid. The update filter is specifically to filter
 the value that is returned by the widget's `update` callback. If a filter
 is desired for the value going ''into'' the `update` callback, then a new
 filter should be proposed. Also, we can't move the filter from where it
 exists right now without breaking existing plugins.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28790#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list