
內容簡介
Jetpack 提供強大的功能……但有時我們並不需要全部功能。這個外掛程式可以提供更多控制 Jetpack 模組的選項。
功能
將個別 Jetpack 模組加入黑名單或移除。
防止連接或升級後自動啟用模組。
允許在沒有 WordPress.com 連接的情況下啟用 Jetpack 模組。
適用於單一網站和多站點。
範例
在大多數情況下,經過深思熟慮的 Jetpack 模組組合可以帶來很好的效果。但有時候人們沒有充分考慮。或者站點管理員不知道所有的影響……
也許您的 Nginx Web 伺服器使用 FastCGI 快取,與Mobile Theme模組不兼容?加入該模組到黑名單,以防止任何管理員激活它。
您是否已經有一個由主題或其他外掛提供的圖片瀏覽模式?那麼加入 Carousel 模組到黑名單以防止意外激活。
或者您正在運行一個多站點,不想讓任何管理員使用 Monitor 模組監控運作時間,讓他們每次網站短暫無法訪問時就打電話給您嗎?
或者您提供自己的備份服務,對 VaultPress 競爭不在乎?
您正在運營一所學校網路,有些網站由未成年人管理,他們不被允許在 WordPress.com 上註冊帳戶?然後使用 Jetpack 開發模式選項,以允許使用不需要連接的模組。
在這樣的情況下,Jetpack 的任何一個模組都可能帶來重疊或甚至衝突的功能。在這種情況下,能夠防止(意外)啟用是個好事。
單一網站和多站點
儘管最初的想法是在多站點安裝時製作出來的,Jetpack Module Control 設計用於單一和多站點的安裝。
對於多站點,它只能在網絡中啟用,並允許全局規則在所有站點上進行。此時,超級管理員可以進行個別網站的更改。Jetpack 本身可以網路啟用,但不需要網路啟用。
對於單一站點安裝,可以通過在 wp-config.php 中添加 define('JETPACK_MC_LOCKDOWN', true) 來鎖定外掛程式設置,以實現完全安全。這可以用於防止其他管理員重新啟用黑名單中的模組。
開發
此項目可以在 Github 上選擇分支或參與貢獻。
歡迎任何形式的貢獻,包括功能需求、錯誤報告、翻譯或程式代碼!
外掛標籤
開發者團隊
原文外掛簡介
Jetpack adds powerful features, but sometimes we don’t want them all… This light-weigth but effective plugin brings additional control over Jetpack.
Features
Blacklist / remove individual Jetpack modules.
Optionally prevent module auto-activation on connection or after an upgrade.
Optionally run Jetpack “unplugged”, without a WordPress.com connection.
Single site and Multisite compatible.
Examples
In most use cases, a carefully considered combination of Jetpack modules can be a really good thing. But not always is much consideration being done beforehand. Or site admins just don’t know all the implications…
Using Jetpack on a network? Then network incompatible WAF (Web Application Firewall) module should be blacklisted to prevent accidental activation!
Do you already use a light box provided by your theme or another plugin? Then blacklist the Carousel module to prevent accidental activation.
Or you’re running a Multisite and do not want any admins monitoring uptime with the Monitor module just to call you every time their site is briefly inaccessible?
Offer your own backup service? Backlist VaultPress if you do not care for VaultPress competition.
You’re running a school network and sites are managed by minors who are not allowed to sign up for an account at WordPress.com? Then use the Jetpack Offline Mode option to allow usage of modules that do not require a connection.
Any one of Jetpack’s modules can bring overlapping or even conflicting functionality. In such cases, being able to prevent (accidental) activation is a good thing.
Single site and Multisite
Although the original idea arose on a multisite installation, Module Control for Jetpack is developed for both single and multisite installations.
On multisite, it can only be network activated and allows global rules for Jetpack on all sites. At this point it also allows per-site changes by Super Admin only. Jetpack itself can, but does not need to be network activated. In that case, activate Jetpack on the main site and then network-activate Module Control.
For single site installations, plugin settings can be locked down by adding define('JETPACK_MC_LOCKDOWN', true) to wp-config.php for complete security. This can be useful to prevent other admins being able to reactivate blacklisted modules.
Development
The project can be forked and or contributed to on Github.
All contributions — be it in the form of feature requests, bug reports, translations or code — are welcome!
