[wp-trac] [WordPress Trac] #40224: Twenty Seventeen: navigation.js should be enqueued with jQuery as dependency

WordPress Trac noreply at wordpress.org
Tue Mar 21 20:27:39 UTC 2017


#40224: Twenty Seventeen: navigation.js should be enqueued with jQuery as
dependency
---------------------------+-----------------------------
 Reporter:  chesio         |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Hi,

 I run into an "jQuery is not defined" issue with Twenty Seventeen when I
 try to re-queue jQuery into footer, because ''/assets/js/navigation.js''
 is enqueued without jQuery as dependency.

 Fix is simple, I've attached a patch.

 Cheers,
 Česlav

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40224>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list