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

WordPress Trac noreply at wordpress.org
Sat Apr 30 12:24:20 UTC 2016


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

Comment (by jdgrimes):

 Replying to [comment:25 westonruter]:
 > @jdgrimes thank you for that information. How does
 [attachment:28216.8.fallback.diff] look for providing a fallback in the
 case where `spl_object_hash()` is not available? It takes a somewhat
 similar approach as `_wp_filter_build_unique_id()`.

 That looks OK to me. (Though admittedly I haven't been following this
 ticked closely, so don't take my word for it. :-)

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


More information about the wp-trac mailing list