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

Plugin Toggle

外掛說明

每次在管理後台的 [外掛] 頁面啟用或停用外掛都會讓使用者倍覺困擾。

這個外掛對疑難排解來說相當實用。

這個簡單的外掛令人驚艷,在診斷網站問題時尤為如此。WordPress 的疑難排解方式之一,便是停用全部外掛,然後再逐一啟用。

一般來說,使用者會透過一個瀏覽器分頁開啟外掛管理頁面,並在另一個瀏覽器分頁開啟網站前端,然後在停用某個外掛後,切換瀏覽器分頁並重新整理網站前端以查看問題是否消失。依據網站速度及外掛安裝數量的多寡,這種偵錯方式是相當麻煩的體驗。

Jeff Chandler 於 WP Tavern 上發表的文章

相關資源

螢幕擷圖

  • 工具列下拉式選單會列出可以切換啟用狀態的外掛

安裝方式

安裝這個外掛的方式與其他外掛相同。如需協助,請參考這份官方說明文件

使用者評論

2023 年 6 月 17 日
I found this looking for a way to toggle Query Monitor to only use when debugging speed issues, since Query Monitor is a best of a plugin, an you don't want it running all the time, since it does cause significant Admin slowdown while using. Same of many other Admin or infrequent use plugins. You want them installed, ready for occasional use, but not in day to day operations. Other's useful to know and toggle: Code Profiler, Black Bar, Anti-Malware Security and Brute-Force Firewall, Wider Admin Menu (sometimes overlaps some plugins not recognising this tweak), User Switching, Index WP MySWL for Speed, and many other occasional use plugins. Thank you for your service. Another great example of how Wordpress's vast community hive-mind experiences and solves. 👍 PS: Be even more amazing if you could make it work with the other very helpful "Plugin Groups".
2022 年 7 月 22 日
Systématiquement installé sur tout site que j'utilise
2019 年 3 月 24 日
Thank you for the amazing plugin, it is a great tool for developers! I'm really glad I found this plugin, it saves a lot of time, I usually go to the admin plugins page to activate or deactivate plugins, I do that all the time while developing but this plugin is a big helper. Thank you!
2017 年 8 月 21 日
This is very handy for toggling plugins on and off for diagnosis, or for solutions that require temporarily re configuring your plugin set. Good for trialing several plugins in the same genre, by setting them up, then switching them in or out of the setup. Nice big multi-column list of all the plugins, reduces the amount of scrolling to see them all. This is good, and getting better. Thank you
2017 年 5 月 6 日
I was in a situation where one plugin, when active, interfered with the back end update function of another plugin. My problem was it was easy to forget that I had deactivated the first plugin while working in the second plugin. Now I can quickly view the status of and reactivate any deactivated plugin.
閱讀全部 17 則使用者評論

參與者及開發者

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

參與者

〈Plugin Toggle〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

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

對開發相關資訊感興趣?

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

變更記錄

1.3.1 – December 27, 2016

  • Listed plugins vertically in columns to make scanning easier and decrease disruption when adding or removing plugins.
  • Attempt to detect scenarios where the admin screen being viewed is unavailable after deactivating a plugin and redirect to the Manage Plugins screen instead.

1.3.0 – December 1, 2016

1.2.0

  • Internationalize the plugin to add support for language packs.
  • Only load JavaScript and CSS files on the frontend when the toolbar is enabled.

1.1.6

  • Increase the opacity of inactive plugins and bold active plugins to improve legibility.

1.1.5

  • Set up the plugin on init instead of plugins_loaded to prevent issues with calling current_user_can() too early.

1.1.4

  • Check for changes to the plugins directory or list of active plugins to determine if the cached plugins list should be refreshed.

1.1.3

  • Display an error on the plugins screen if there’s an issue during (de)activation.

1.1.2

  • URL encode redirect URLs to prevent query string conflicts.

1.1.1

  • Prevent a fatal error on activation due to stomping a variable passed by reference.

1.1.0

  • Refactored the codebase to improve performance and legibility.

1.0.0

  • Initial release.