Title: DisableMU
Author: Dave McHale
Published: <strong>2014 年 8 月 26 日</strong>
Last modified: 2016 年 2 月 9 日

---

搜尋外掛

![](https://ps.w.org/disablemu/assets/banner-772x250.png?rev=973538)

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

![](https://ps.w.org/disablemu/assets/icon-256x256.png?rev=973538)

# DisableMU

 由 [Dave McHale](https://profiles.wordpress.org/dmchale/) 開發

[下載](https://downloads.wordpress.org/plugin/disablemu.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/disablemu/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/disablemu/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/disablemu/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/disablemu/#developers)

 [技術支援](https://wordpress.org/support/plugin/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.

## 安裝方式

 1. Upload the `disablemu` directory to the `/wp-content/plugins/` directory via FTP
 2. Alternatively, upload the `disablemu_v#.#.zip` file to the ‘Plugins->Add New’ page
    in your WordPress admin area
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常見問題集

#### What other features will you add to this plugin?

Kicking around ideas, but always open to user input as well. Currently debating…

 1. Deletion of /mu-plugins directory, if found
 2. Creating cron to cycle the fake directory name (don’t want to do this too frequently
    though since it touches wp-config.php)

If you definitely want to see one of these, or have an idea of your own, let me 
know!

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

 *   [ Dave McHale ](https://profiles.wordpress.org/dmchale/)

[將〈DisableMU〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/disablemu)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/disablemu/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/disablemu/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/disablemu/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/disablemu/)。

## 變更記錄

#### 1.1

 * Moved where definitions live inside wp-config.php, to ensure it is always ABOVE
   the wp-settings.php include
 * Updated CONST definitions to be proper directory/url paths instead of partials
 * Updated CONST definitions to remove the “if isDefined()” checks. We want to ensure
   that WE always take precedence.

#### 1.0

 * Initial Release

## 中繼資料

 *  版本 **1.1**
 *  最後更新 **10 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.4.34**
 *  語言
 * [English (US)](https://wordpress.org/plugins/disablemu/)
 * 標籤
 * [admin](https://tw.wordpress.org/plugins/tags/admin/)[mu-plugins](https://tw.wordpress.org/plugins/tags/mu-plugins/)
   [security](https://tw.wordpress.org/plugins/tags/security/)
 *  [進階檢視](https://tw.wordpress.org/plugins/disablemu/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/disablemu/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/disablemu/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/disablemu/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/disablemu/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/disablemu/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/disablemu/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/disablemu/reviews/)

## 參與者

 *   [ Dave McHale ](https://profiles.wordpress.org/dmchale/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/disablemu/)