[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:20:39 UTC 2015


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

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34552"]:
 {{{
 #!CommitTicketReference repository="" revision="34552"
 Widgets: Pass `$this` to the `widget_text` filter to make targeting
 specific widget instances easier.

 Also fixes docs errors in the type and description for the `$instance`
 parameter, introduced in [27697].

 Fixes #24605.
 }}}

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


More information about the wp-trac mailing list