WordPress.org

Make WordPress Core

Changes between Initial Version and Version 7 of Ticket #23909


Ignore:
Timestamp:
04/30/2015 05:07:16 AM (5 years ago)
Author:
westonruter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23909

    • Property Cc nashwan.doaqan@… added
    • Property Summary changed from Widgets Settings Loaded When No-Needed to Widgets settings loaded and instances registered unnecessarily
  • Ticket #23909 – Description

    initial v7  
    1 Hi, This ticket about the performance in the back-end interface .
     1The settings for all registered multi-widgets get loaded with each request in `widgets_init`, and all widgets get registered even if they are never used (e.g. inactive ones). As the total number of inactive widgets tend to grow over time, the result is slower and slower page loads across all of a WordPress install.
    22
    3 WordPress run query to get the active widgets settings in every page even in the dashboard ! , This makes the site admin slow especially when the site have many widgets !
    4 
    5 You can use '''Debug Bar''' & '''Debug Bar Extender''' plugins to check the queries .
     3Ideally only the widgets returned by `wp_get_sidebars_widget()` would only get loaded and registered, though this would have an impact on how the widgets in the Customizer work.