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

WordPress Trac noreply at wordpress.org
Wed Apr 6 16:52:08 UTC 2016


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

Comment (by westonruter):

 Aside: This is somewhat related to the recent WP-CLI changes to avoid
 having to register a command by providing a class name but instead to
 allow passing an object instance (here a callable): https://github.com/wp-
 cli/wp-cli/issues/2204

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


More information about the wp-trac mailing list