[wp-trac] [WordPress Trac] #23909: Widgets Settings Loaded When No-Needed
WordPress Trac
noreply at wordpress.org
Wed Apr 29 20:22:33 UTC 2015
#23909: Widgets Settings Loaded When No-Needed
--------------------------+------------------------------
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):
Related: #26876
And as I noted there, 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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23909#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list