這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP jQuery Plus

外掛說明

Get the speed benefits of loading jQuery (and jQuery Migrate) from a CDN while providing a fallback to the local version in the event the CDN is down. It also uses the same version as WordPress does – automagically, so you’re never out of sync.

Loading jQuery from cdnjs

By default, jQuery is loaded from Google with jQuery Migrate being loaded from cdnjs. If you’d like to also load jQuery from cdnjs, add the following to wp-config.php

define('WPJP_USE_CDNJS', true);

安裝方式

  1. Upload the wp-jquery-plus folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

Can you add `feature-x`?

Sure! I’m always open to knew ideas. Just create a new forum post and I’ll take a gander.

使用者評論

2016 年 9 月 8 日 1 則留言
Really a simple and effective plugins.
閱讀全部 9 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP jQuery Plus〉的開發相關工作。

參與者

將〈WP jQuery Plus〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.2

  • Restore PHP 5.3 compatability because I’m a nice guy 😉

1.1.1

  • Quick-note about PHP 5.4 requirement

1.1.0

  • Tested in 4.2.3
  • Loading jQuery Migrate from cdnjs
  • Added option to load jQuery from cdnjs

1.0.1

  • Tested in 3.8
  • Updated description about fallback use-case.

1.0

  • Make sure jQuery is enqueued
  • This puppy should be ready to go! Now considered feature-complete.

0.5

  • Added 3.6 check (since the jQuery handle was changed) and updated accordingly to work in both 3.5 and 3.6.

0.4.2

  • Source credits given for local fallback

0.4.1

  • Updated readme requirements

0.4

  • Added local fallback to bundled jQuery in the event CDN is down

0.3

  • Test push using https://github.com/benbalter/Github-to-WordPress-Plugin-Directory-Deployment-Script

0.2

  • Removed CURL function (if Google is down, the entire Internet is down)

0.1

  • Initial release