[wp-trac] [WordPress Trac] #23909: Widgets settings loaded and instances registered unnecessarily

WordPress Trac noreply at wordpress.org
Wed Mar 9 19:12:42 UTC 2016


#23909: Widgets settings loaded and instances registered unnecessarily
--------------------------+------------------------------
 Reporter:  alex-ye       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by westonruter):

 The [https://github.com/xwp/wp-customize-widgets-plus/blob/master/php
 /class-optimized-widget-registration.php Customize Widgets Plus] plugin
 has a module “[https://github.com/xwp/wp-customize-widgets-
 plus/blob/master/php/class-optimized-widget-registration.php Optimized
 Widget Registration]” which limits the number of widgets registered to the
 current request. More work would need to be done here for widgets in the
 Customizer, specifically on implementing including lazy-loading widgets
 that are present in the preview (#28580) and implementing JS-driven
 widgets (#33507).

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


More information about the wp-trac mailing list