hlavacm/wp-tracy 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hlavacm/wp-tracy

最新稳定版本:v2.0.0

Composer 安装命令:

composer require hlavacm/wp-tracy

包简介

(Nette) Tracy connector for WordPress

README 文档

README

Tracy is an excellent PHP debugger bar from Nette PHP framework.

WP Tracy is port to WordPress for test environment.

When it's activated, it automatically shows Tracy bar and displays within global WP constants and their values.

Installation & Configuration

  1. Use command on your path: composer require hlavacm/wp-tracy
  2. Profit!
  3. You can optionally define custom PHP constants in the code, but they must be defined in the action init with priority 1.
    • WP_TRACY_ADMIN_DISABLED - true
    • WP_TRACY_CHECK_IS_USER_LOGGED_IN - on/off
    • WP_TRACY_ONLY_FOR_USER_ID - some (existing) user ID (as a number)
    • WP_TRACY_ENABLE_MODE - detect/development/production
    • WP_TRACY_PANELS_FILTERING_ALLOWED - on/off
  4. You can optionally define custom options wp-tracy-user-settings as serialized array of keys and values:
    • check-is-user-logged-in => on/off
    • only-for-user-id => some (existing) user ID (as number)
    • debugger-mode => detect/development/production
    • panels-filtering-allowed => on/off
  5. You can optionally use wp_tracy_panels_filter to modify default panels array (full class names)
  6. The following panels are visible by default (if they are available):
    • WpTracy\\WpPanel
    • WpTracy\\WpUserPanel
    • WpTracy\\WpPostPanel
    • WpTracy\\WpQueryPanel
    • WpTracy\\WpQueriedObjectPanel
    • WpTracy\\WpDbPanel
    • WpTracy\\WpRolesPanel
    • WpTracy\\WpRewritePanel
    • WpTracy\\WpCurrentScreenPanel

WP Tracy WP Tracy exception

Copyright © Martin Hlaváč 2015-2018

统计信息

  • 总下载量: 2.48k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 22
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 22
  • Watchers: 3
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-09-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固