[WordPress] 外掛分享: Debug Bar Plugin Activation

首頁外掛目錄 › Debug Bar Plugin Activation
WordPress 外掛 Debug Bar Plugin Activation 的封面圖片
10+
安裝啟用
★★★★★
5/5 分(2 則評價)
3547 天前
最後更新
問題解決
WordPress 3.8+ v1.0 上架:2016-06-30

內容簡介

你有沒有啟用一個外掛時遇到過這個可怕的問題:

此外掛程式在啟用期間產生了#個意外的輸出....

然後想知道意外產生的輸出是什麼?還是懷疑是否解除安裝或停用程式時是否有典型的 PHP錯誤?

現在你不用再擔心了,因為你可以在你喜歡的除錯工具-Debug Bar中看到輸出內容。

Debug Bar Plugin Activation為Debug Bar新增了一個面板,顯示外掛啟用、停用和解除安裝期間產生的輸出。

一旦你解決了問題,你可以從Debug Bar面板中直接清除已記錄的輸出記錄。
當你解除安裝一個外掛時,相關的啟用和停用輸出記錄將自動刪除。

這個外掛的靈感來自於2016年WordCamp歐洲貢獻者日期間與Mika Epstein 的一次交談。

重要提示

此外掛要求安裝和啟用Debug Bar外掛程式。

此外掛僅用於除錯和/或開發環境,並不適用於在生產環境中使用。

如果你喜歡此外掛,請評價它。如果您有任何使此外掛更好的想法或發現任何錯誤,請在支援論壇或GitHub倉庫中報告這些問題。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Ever been “greeted” when you activated a plugin with the dreaded:

This plugin generated # characters of unexpected output during activation….

And wondered what the unexpected output was ?
Or wondered whether a de-activation or uninstall routine was free of typical PHP errors ?
Well, no need to wonder anymore, as you can now see the output within your favorite debugging tool – the Debug Bar.
Debug Bar Plugin Activation adds a new panel to the Debug Bar which displays the output generated during plugin activation, deactivation and uninstall.
Once you’ve fixed the issues, you can remove the logged output straight from the Debug Bar panel.
And when you uninstall a plugin, the associated logged activation and deactivation output entries will be removed automatically.

This plugin was inspired by a conversation with Mika Epstein during the contributors day at WordCamp Europe 2016.

Important
This plugin requires the Debug Bar plugin to be installed and activated.
Also note that this plugin should be used solely for debugging and/or in a development environment and is not intended for use on a production site.
If you like this plugin, please rate and/or review it. If you have ideas on how to make the plugin even better or if you have found any bugs, please report these in the Support Forum or in the GitHub repository.

延伸相關外掛

文章
Filter
Mastodon