[wp-trac] [WordPress Trac] #34226: Add 'widget_display_callback' filter to the_widget()

WordPress Trac noreply at wordpress.org
Tue Dec 8 05:16:29 UTC 2015


#34226: Add 'widget_display_callback' filter to the_widget()
------------------------------+------------------------------
 Reporter:  MarcGuay          |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Widgets           |     Version:  4.3.1
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |     Focuses:  template
------------------------------+------------------------------
Changes (by welcher):

 * keywords:   => needs-unit-tests


Comment:

 Thanks for the ticket and welcome!

 This seems like a good idea to me - my only hesitation would be backwards
 compat. Getting some unit tests on this to confirm that the patch doesn't
 break anything would go a long way.

 The 2nd $widget_obj in the patch doesn't match the doc block as well.

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


More information about the wp-trac mailing list