Linux 软件免费装
Banner图

WP Tracy

开发者 hlavacm
更新时间 2018年10月4日 20:41
捐献地址: 去捐款
PHP版本: 5.4.4 及以上
WordPress版本: 4.9
版权: GPLv2
版权网址: 版权信息

标签

debugger tracy

下载

1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 2.0.0

详情介绍:

Tracy is an excellent PHP debugger bar from Nette PHP framework. WP Tracy is simple implementation and integration of Tracy into WordPress (for test environment). When it's activated, it automatically shows Tracy bar and displays within global WP constants and their values. It's great for local(host) development. Simple setup is available in the Administration Tools menu and some constants are in the code.

安装:

  1. Upload the wp-tracy folder to the /wp-content/plugins/ directory
  2. Activate the WP Tracy plugin through the Plugins menu in WordPress
  3. You can optionally change default settings in the administration Tools menu.
  4. Profit!
  5. You can optionally define some constants in the code: 5.1 WP_TRACY_ADMIN_DISABLED - true 5.2 WP_TRACY_CHECK_IS_USER_LOGGED_IN - on/off 5.3 WP_TRACY_ONLY_FOR_USER_ID - some (existing) user ID (as number) 5.4 WP_TRACY_ENABLE_MODE - detect/development/production 5.5 WP_TRACY_PANELS_FILTERING_ALLOWED - on/off

屏幕截图:

  • (WP) Tracy bar auto-display after plugin activation
  • Tracy exception screen
  • WP versions constants
  • WP (Logged) User information
  • (global) WP Post information
  • (global) WP Query information
  • (global) WP DB information
  • Simple setup in the administration Tools menu

升级注意事项:

  • There are no upgrade notice, this is the first version...

常见问题:

What is Tracy?

Tracy is debugger bar and useful PHP library and helper for a everyday programmer's use.

What is WP Tracy?

It is Tracy integration into the WP, including system information (global variables) of WordPress.

Is WP Tracy active in the production environment?

By default not, but it depends on the settings.

Has WP Tracy the visual settings?

Yes, there is a simple setup in the administration Tools menu.

Can I change default settings?

Yes, you can define constants in the code - but they must be defined in the action init with priority 1. 1 WP_TRACY_ADMIN_DISABLED - true 2 WP_TRACY_CHECK_IS_USER_LOGGED_IN - on/off 3 WP_TRACY_ONLY_FOR_USER_ID - some (existing) user ID (as number) 4 WP_TRACY_ENABLE_MODE - detect/development/production 5 WP_TRACY_PANELS_FILTERING_ALLOWED - on/off

What information / panels are displayed?

The following panels are visible by default (if they are available):

  • WP
  • WP User
  • WP Post
  • WP Query
  • WP Queried Object
  • WP Db
  • WP Roles
  • WP Rewrite
  • WP Current Screen

Can I change the panel order or add my own?

Yes, you can define the wp_tracy_panels_filter, where you can modify the panels array.

更新日志:

2.0.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0