[wp-trac] [WordPress Trac] #16963: wp_enqueue_script bug in ie8

WordPress Trac noreply at wordpress.org
Thu Jan 30 19:55:58 UTC 2014


#16963: wp_enqueue_script bug in ie8
--------------------------------+----------------------
 Reporter:  jkmassel            |       Owner:
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  External Libraries  |     Version:  3.1
 Severity:  normal              |  Resolution:  wontfix
 Keywords:  needs-patch         |     Focuses:
--------------------------------+----------------------
Changes (by TobiasBg):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 The current version (at least) of jQuery is smart enough to not
 overwrite/restore an existing `$` function, when `noConflict()` is used:
 http://jsfiddle.net/7cazt/
 Loading jQuery after prototype should therefore not be a problem.

 As it's possible that this does not hold the other way around,
 `wp_prototype_before_jquery()` (for reference: added in [6209] for #5067)
 should stay for backward compatibility, as there might be plugins that
 enqueue both scripts in the wrong order right now.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/16963#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list