[wp-trac] [WordPress Trac] #28216: Allow to register pre-instantiated widgets

WordPress Trac noreply at wordpress.org
Fri Apr 29 06:22:49 UTC 2016


#28216: Allow to register pre-instantiated widgets
-------------------------------+--------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  westonruter
     Type:  defect (bug)       |      Status:  accepted
 Priority:  normal             |   Milestone:  4.6
Component:  Widgets            |     Version:  3.9.1
 Severity:  normal             |  Resolution:
 Keywords:  has-patch commit   |     Focuses:
-------------------------------+--------------------------
Changes (by westonruter):

 * keywords:  has-patch => has-patch commit


Comment:

 I fleshed out the unit tests, testing the registration of a class name and
 a class instance together, ensuring both result in registered widgets. See
 [attachment:28216.5.diff]. I think this is good to go!

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


More information about the wp-trac mailing list