[wp-trac] [WordPress Trac] #22244: jQuery should register in footer by default
WordPress Trac
noreply at wordpress.org
Mon Oct 22 00:27:28 UTC 2012
#22244: jQuery should register in footer by default
--------------------------------------+----------------------
Reporter: ryanve | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Performance | Version:
Severity: normal | Resolution: wontfix
Keywords: needs-patch dev-feedback |
--------------------------------------+----------------------
Changes (by nacin):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
jQuery's own sites (jquery.com, jqueryui.com to name two of them) loads
jQuery in the header. There is of course a potential performance benefit
to loading it in the footer, just as there is a potential functionality
benefit to loading it in the header.
Unfortunately, this has the potential to break any code not properly (and
completely) using the dependencies system. We have made a number of script
enqueueing changes over the past few releases that has caused us
accidental grief, so I'd rather not bring it upon ourselves and do a
change deliberately.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22244#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list