该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Notice TraceLog

描述

Notice TraceLog is a lightweight developer tool that displays PHP backtraces when Notices occur, helping you identify and fix issues caused by early execution or translation loading problems. Useful for debugging during plugin and theme development.

屏幕截图

安装

  1. Upload the plugin files to the /wp-content/plugins/notice-trace-log directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Make sure WP_DEBUG and WP_DEBUG_DISPLAY are enabled in your wp-config.php.

Example configuration in wp-config.php:

define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', true);

评价

此插件暂无评价。

贡献者及开发者

「Notice TraceLog」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Notice TraceLog」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0.0

Release basic functionality

1.0.1

  • Added dependency checks for WP_DEBUG_DISPLAY and WP_DEBUG_LOG
  • Improved error display in the browser
  • Backtrace logging added to error log if WP_DEBUG_LOG is enabled (writes to the default log file)
  • Enhanced admin area messages