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

Bulk Plugin Toggle

外掛說明

This plugin adds “Toggle” as a bulk action for the plugins listing to toggle the activation state for selected plugins.

From the admin listing of plugins you can now select multiple plugins and choose “Toggle” from the “Bulk actions” dropdown. When applied, all selected plugins that are currently activated will become deactivated, and all selected plugins that are currently deactivated will become activated.

Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

螢幕擷圖

  • The "Toggle" option in the "Bulk Actions" dropdown for the admin plugins listing.

安裝方式

  1. Install via the built-in WordPress plugin installer. Or install the plugin code inside the plugins directory for your site (typically /wp-content/plugins/).
  2. Activate the plugin through the ‘Plugins’ admin menu in WordPress
  3. From the admin ‘Plugins’ page, select the checkboxes for plugins whose activation state you’d like to toggle, then from the “Bulk Actions” dropdown (found above-left and below-left of the table) choose “Toggle” and press the “Apply” button to submit. Any selected plugins that were active will get deactivated and any that were deactive will get activated.

常見問題集

Why isn’t “Toggle” present in the bulk actions dropdown for plugins for me?

The “Toggle” bulk action is only available to users who have both the “activate_plugins” and “deactivate_plugins” capabilities, which generally implies administrators. The toggle is also only shown when looking at the “All” or “Update Available” views.

Does this plugin include unit tests?

Yes.

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0.2 (2021-11-27)

  • Change: Note compatibility through WP 5.8+
  • Change: Unit tests: In bootstrap, move definition of constant for plugin file directory to top of file

1.0.1 (2021-07-13)

  • Change: Note compatibility through WP 5.7+
  • Change: Add a tad more to the plugin’s longer description
  • Change: Update copyright date (2021)
  • Change: Trivial code tweaks
  • Change: Fix typo in inline parameter documentation
  • Change: Unit tests: Move phpunit/ into tests/

1.0 (2020-08-07)

  • Initial release

Full changelog is available in CHANGELOG.md.