[WordPress] 外掛分享: Proper Network Activation

首頁外掛目錄 › Proper Network Activation
20+
安裝啟用
★★★★
4.3/5 分(7 則評價)
4752 天前
最後更新
問題解決
WordPress 3.1+ v1.0.5 上架:2010-07-07

內容簡介

在運行 WordPress MultiSite 時,你有一個非常方便的功能叫作網路啟用。它允許你為整個網站啟用外掛。問題是它僅完成了其中一半的工作。

一些外掛有一個安裝過程,它只能在啟用時運行。然而,當你進行網路啟用時,該安裝程序僅對當前網站執行。因此,你最終會發現某些網站上的外掛無法正常運作。

該外掛的功能:

在進行網路啟用或停用時,它會觸發網站網路啟用或停用掛鉤(hook)
在創建新網站時,它會對該網站的所有活動網路外掛觸發啟用掛鉤(hook)

連結:外掛新聞 | 作者網站

開發

在 https://github.com/scribu/wp-proper-network-activation 上共同開發
在 https://translate.foe-services.de/projects/proper-network-activation 上共同翻譯

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Proper Network Activation」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

When running WordPress MultiSite, you have a very handy feature called network activation. It allows you to activate a plugin for the entire network of sites. The trouble is that it only does half the job.
Some plugins have an install procedure that is meant to be run only on activation. However, when you do a network activation, that install procedure is only run for the current site. So, you end up with plugins not working properly on all the other sites.
What this plugin does:

when doing a network de/activation, it triggers the de/activation hook on all sites in the network
when creating a new site, it triggers the activation hook for all active network plugins on that site

Links: Plugin News | Author’s Site
Development

Contribute Code at https://github.com/scribu/wp-proper-network-activation
Contribute Translations at https://translate.foe-services.de/projects/proper-network-activation

延伸相關外掛

文章
Filter
Apply Filters
Mastodon