內容簡介
我很喜歡 FirePHP 非常簡單的 API,並發現它在調試 WordPress 插件和佈景主題時非常有用。還有其他一些整合了 FirePHP 的外掛,比如 WP-FirePHP 和 WP-Logger,但它們都增加了我不想為快速調試任務而應對的複雜性。
在我控制的網站上,安裝 FirePHP 核心並將其包含到 wp-config.php 中並不難,這通常是我所做的。但是,將這個外掛放在 WordPress.org/extend 目錄中意味著我可以隨時在某個沒有給予我 shell 或 ftp 訪問權限的博客上安裝它。
計劃
我不認為我會在這個外掛上做更多的事情,因為我想保持它相當簡單,但我打算確保該外掛優先加載(參見 wp-logger),並可能添加一個簡單的選項頁面。也可能會添加 PHP4 支持,但可能不會。
外掛標籤
開發者團隊
原文外掛簡介
I like the very simple API to FirePHP and find it very useful for debugging WordPress plugins and themes. There are a few other plugins out there that integrate FirePHP, notable WP-FirePHP and WP-Logger, but both add complexity that I don’t want to have to deal with for a quick debugging task.
It wouldn’t be that hard to install the FirePHP core and add the includes to wp-config.php, and that’s what I generally do on sites that I control, but having this plugin in the Wrodpress.org/extend directory means that I’ll be able to install it on the fly for a blog that someone hasn’t given me shell or ftp access to.
Plans
I don’t think I’ll do a whole lot more with this, since I want to keep it pretty simple, but I plan to make sure the plugin loads first (see wp-logger) and perhaps add a simple options screen. Might also add PHP4 support, but probably not.
