[wp-trac] [WordPress Trac] #19978: Twenty Twelve

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 6 21:58:40 UTC 2012


#19978: Twenty Twelve
----------------------------+-----------------------------
 Reporter:  nacin           |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Bundled Theme   |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------------

Comment (by lancewillett):

 > navigation.js is enqueued in the wrong way. There is no need for
 wp_enqueue_script( 'jquery' ), and $deps argument in wp_enqueue_script()
 should be array, not string.

 Thanks for the notes, dirmadin. Will fix up that up soon.

 I disagree on loading the JS later; and we probably won't minify JS in the
 default theme. You can certainly do it on your end, in production.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19978#comment:57>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list