Restore jQuery
v1.0silverks · 2012年4月2日 上架
Restore the loaded jQuery library to the version bundled with WordPress.
- 正在使用
- 40+
- 评分
- 5.0 / 5
- 累计下载
- 1.1 万
- 最近更新
- 2012年4月3日
贡献者
Some plugins and themes replace the default jQuery library that comes bundled with WordPress with another version,
typically from the Google AJAX CDN. This is generally bad practice, since many other plugins and themes rely on and
expect that the WordPress-bundled jQuery version is being loaded.
Also, typically the alternative jQuery library being loaded is not executed in the jQuery noConflict mode, which tend
to cause conflicts with other JavaScript frameworks, like Prototype and MooTools.
This plugin simply restores the version of jQuery being loaded to the one that comes bundled with WordPress. It only
does this if jQuery is already in the WordPress scripts queue, and won’t do anything otherwise.