[WordPress] 外掛分享: DisableMU

首頁外掛目錄 › DisableMU
WordPress 外掛 DisableMU 的封面圖片
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
3692 天前
最後更新
問題解決
WordPress 3.0.1+ v1.1 上架:2014-08-25

內容簡介

透過在 wp-config.php 檔案中寫入常數,重新定義 /mu-plugins 目錄的位置,以確保預設位置上發佈的程式碼不會自動在網站上運行。

由於許多網站管理員並沒有使用 /mu-plugins,我們希望確保因自動啟用而在網站上出現任何 mu-plugins 的情況都可以避免:當你不想要那些程式碼存在時,自動啟動是不好的!

DisableMU 不適用於所有網站。許多開發公司、系統管理員和網站主機公司都非常合法地使用 /mu-plugins,並建立了圍繞利用 WordPress 的這一功能的商業計劃。如果您在網站上安裝和啟用 DisableMU,可能會破壞一些功能。請慎重使用,並只在您知道自己在做什麼時才使用此外掛程式。正如大多數外掛程式一樣,DisableMU 是為了幫助而寫作的,但您對其使用或在自己的網站上的行動負有責任。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Redefines the location of the /mu-plugins directory, via writing constants to your wp-config.php file, to ensure that no code published to the default location will automatically run on your website.
Since many site administrators are not using /mu-plugins, we want to be sure that no mu-plugins “suddenly” appear on our website due to their nature: auto-activation is BAD when you didn’t intend for code to be there!
DisableMU is not for every website. Many development houses, system admins, and hosting companies have very legitimate uses for /mu-plugins and have built business plans around utilizing this feature of WordPress. By installing and activating DisableMU on your website, you may break things. Please exercise caution and only utilize this plugin if you know what you are doing. As with most plugins, DisableMU is written with the intent of being helpful but you are responsible for its use or actions on your own website.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon