[wp-trac] [WordPress Trac] #22975: Remove deprecated jQuery methods from core to be safe for jQuery 1.9
WordPress Trac
noreply at wordpress.org
Mon Dec 17 22:02:39 UTC 2012
#22975: Remove deprecated jQuery methods from core to be safe for jQuery 1.9
--------------------------------+------------------
Reporter: ocean90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: External Libraries | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------------+------------------
Comment (by TobiasBg):
Replying to [comment:5 nacin]:
> Seems like the dependency tree in [23180] would break with
concatenation. Migrate needs to load after jQuery, not before.
I can't reproduce problems with this. {{{http://localhost/wp-admin/load-
scripts.php?c=0&load[]=jquery-migrate,jquery,utils&ver=3.6-alpha}}} works
fine, jQuery is first (with {{{.noConflict();}}} at the end), then jquery-
migrate.js.
Replying to [comment:6 nacin]:
> {{{
> $scripts->add( 'jquery-noconflict', ... );
> }}}
This should also get a dependency on {{{jquery-core}}}. This would allow
plugins to enqueue jQuery without {{{jquery-migrate}}}, if it is sure that
it doesn't need the backwards compatibility part.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22975#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list