该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Restore jQuery

描述

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.

安装

  1. Upload the entire restore-jquery folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the WP Admin > Plugins menu in WordPress

常见问题

Plugin so-and-so no longer works!

This is most likely due to that particular plugin being coded to utilise a specific version of jQuery, or a version of
jQuery that is not executed in the noConflict mode.

You have three choices:

  • ask the plugin’s developer to update the plugin’s codes to use WordPress-bundled jQuery version, or
  • switch to another plugin that provides similar function, but uses the WordPress-bundled jQuery version instead, or
  • stop using the Restore jQuery plugin.
Where’s the options page? Screenshots?

This plugin contains very simple codes that works behind the scene. There’s no need for user interaction, so there’s no
options page for the plugin, and hence no screenshots.

评价

此插件暂无评价。

贡献者及开发者

“Restore jQuery” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Restore jQuery”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial release