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

Plugin Activation Status

外掛說明

Plugin Activation Status makes it easier for owners of multisite and multi-network WordPress installations to perform plugin audits on their installations. The plugin generates a list of plugins that are not currently active on any sites or networks. It generates a separate list of plugins that are active somewhere within the installation, and provides details about where and how those plugins are activated.

This plugin first retrieves a full list of all of the plugins that are network-activated throughout your installation. Then, it loops through all of the sites in your installation, retrieving a list of all of the active plugins on each site. Next, it runs a diff between the full list of installed plugins and the list of all active plugins.

Once it retrieves all of that information, it outputs two separate lists.

The first list is the list of Inactive Plugins; all plugins that are installed, but not activated anywhere within WordPress will be listed there. The second list shows all of the Active Plugins; all plugins that are installed and activated somewhere within WordPress are shown there.

Within the Active Plugins list, each plugin also has a list of all of the places the plugin is active (at the top, a list of all of the places it’s network-active; at the bottom, all of the places it’s normally-activated).

When the plugin generates the lists of plugins, it stores those lists as site options in the database, so the lists can be retrieved for reference without using any additional server resources. If you would like to remove those cached lists and generate new lists, you simply have to click the Continue button on the admin page.

螢幕擷圖

  • An example of the list of plugins that's generated by the plugin

安裝方式

Standard Installation

  1. Upload plugin-activation-status folder to the /wp-content/plugins/ directory
  2. Network-activate the plugin through the ‘Plugins’ menu in WordPress

MU-Plugins Installation

  1. Upload the plugin-activation-status folder to the /wp-content/mu-plugins/ directory (if that directory does not exist, you can create it)
  2. Move plugin-activation-status.php out of /wp-content/mu-plugins/plugin-activation-status/ and directly into /wp-content/mu-plugins/

常見問題集

Installation Instructions

Standard Installation

  1. Upload plugin-activation-status folder to the /wp-content/plugins/ directory
  2. Network-activate the plugin through the ‘Plugins’ menu in WordPress

MU-Plugins Installation

  1. Upload the plugin-activation-status folder to the /wp-content/mu-plugins/ directory (if that directory does not exist, you can create it)
  2. Move plugin-activation-status.php out of /wp-content/mu-plugins/plugin-activation-status/ and directly into /wp-content/mu-plugins/
Why don’t I see the new Plugins -> Active Plugins menu item?

That menu item will only appear in the Network Admin area for the primary (root/main) network. If you are running a multi-network installation and you activated the plugin on a network other than the first, you won’t see that menu item.

Will this work on a non-multisite installation?

No. If you need to see the activation status of plugins in a standard WP install, you can simply go to Plugins -> Installed Plugins in your admin area. This plugin is specifically developed for multisite and multi-network installs of WordPress, where it’s much more difficult to get a clear, accurate picture of which plugins are active and where they’re active.

Why do I see file paths at the bottom of the list of Active Plugins?

When a plugin is installed and activated, WordPress uses that file path as the indicator that the plugin has been activated, and stores that information in the database. If a plugin file is removed or renamed after it’s been activated on a site, WordPress doesn’t know that it has to remove that old path from the list of active plugins until you visit the Plugins page on each site where it was active.

To make a long story short (too late!), those are plugins that are still considered “active” by WordPress, but no longer exist in your /wp-content/plugins/ directory.

使用者評論

2018 年 2 月 19 日
I was hesitant to give this a try given it's been so long since it was last updated, but it works very well and allowed me to quickly clean up my plugins list.
2017 年 1 月 6 日
This plugin fills a sizable gap in multisite/network install administration. Multi-networks are relatively unknown and this plugin handles them swimmingly.
2017 年 1 月 4 日
really useful to clean huge networks, with a lot of unused plugins.
2016 年 11 月 15 日
It shows me exactly what I need. I used this to replace another plugin that was delivering incomplete lists. Now I want to find something just like this for themes...
2016 年 11 月 14 日
I wish you could export the results, but other than that, it's great! It helps me keep track of plugins that I am using, and NOT using on my multisite install.
閱讀全部 14 則使用者評論

參與者及開發者

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

參與者

將〈Plugin Activation Status〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.2.1

  • Adds i18n and l10n features

1.0.2

  • Tested compatibility with WordPress 4.9.x
  • Fixes undefined constant warning as pointed out by @chenryahts
  • Fixes undefined index warning as pointed out by @cliffpaulick
  • Begins adding compatibility with core implementation of multi-network (uses the is_main_network() function)

1.0

  • Tested compatibility with WordPress 4.0
  • Added link allowing you to delete inactive plugins

0.3

  • Added new buttons allowing you to deactivate plugins on all sites/networks from within the list
  • Tested with WP 3.8.2 to ensure everything still works

0.2

  • Moved styles to their own style sheet
  • Changed name of plugin to “Plugin Activation Status”
  • Split plugin into separate files

0.1

  • First beta release of “UMW Plugin Locator”