[wp-trac] [WordPress Trac] #20976: jQuery loading last

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 15 16:34:39 UTC 2012


#20976: jQuery loading last
--------------------------+-----------------------------
 Reporter:  sccr410       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.4
 Severity:  critical      |   Keywords:
--------------------------+-----------------------------
 After upgrading to 3.4, every piece of JavaScript on my site no longer
 worked. I was getting "jQuery not defined" errors. Looked into source code
 and now for some reason jQuery is the last of all enqueue'd scripts to be
 loaded. This means every plugin that loads JS and needs jQuery doesn't
 have it available when it is initially loaded. Something happened in this
 latest release because this has never been an issue before.

 I can't upgrade any of my WP sites otherwise I have to redo the theme to
 manually insert jQuery which is not idea - want to use enqueue to make
 sure it doesn't get loaded twice.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20976>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list