[wp-trac] [WordPress Trac] #24605: Pass widget ID as a third parameter to widget_text filter

WordPress Trac noreply at wordpress.org
Fri Sep 25 19:09:59 UTC 2015


#24605: Pass widget ID as a third parameter to widget_text filter
-------------------------+---------------------------
 Reporter:  namarpi      |       Owner:  DrewAPicture
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  4.4
Component:  Widgets      |     Version:  3.5.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+---------------------------

Comment (by DrewAPicture):

 Let's pass the entire `WP_Widget_Text` instance instead of just a part of
 it. Also, the type and description on the `$instance` parameter were
 incorrect. Both are done in [attachment:24605.diff].

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


More information about the wp-trac mailing list