[wp-trac] [WordPress Trac] #16494: Remove "no conflict" mode from bundled jquery
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 29 17:37:13 UTC 2011
#16494: Remove "no conflict" mode from bundled jquery
--------------------------------+------------------------------
Reporter: lloydbudd | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: Awaiting Review
Component: External Libraries | Version: 3.1
Severity: minor | Resolution:
Keywords: close |
--------------------------------+------------------------------
Comment (by jczorkmid):
Replying to [comment:26 azaozz]:
> True but all these hooks have legitimate uses where nothing is broken.
If we add `noConflict()` to a hook the only purpose would seem to be for
plugins to remove it.
The hook proposed in #16494 has other valid uses, but this may not be one
of them. That said, moving the `noConflict` call out of jQuery itself
would fix the issues caused by poorly coded plugins/themes that de-
register jQuery, then re-registering a version that does not have the
`noConflict` embedded in it. The problem with these issues is that the
are seldom with the misbehaving plugin, but cause issues for other
plugins.
I do think most people assume that the WordPress distributed jQuery is the
stock jQuery, not one that has been modified by WordPress.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16494#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list