Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26876, comment 4


Ignore:
Timestamp:
05/14/2015 11:45:35 PM (11 years ago)
Author:
westonruter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26876, comment 4

    initial v1  
    1 Related: #23909
    2 
    31Note that I think it would be ideal for performance reasons if widgets were only registered if they are active for the current context, i.e. after `sidebars_widgets` has been filtered or when `dynamic_sidebar` is called. I'm working on a site that has hundreds of widgets, maybe thousands when factoring in inactive widgets, and yet only a dozen are actually used on a given page.