Title: WP Tracy
Author: Martin Hlavac
Published: <strong>20 اکتبر 2015</strong>
Last modified: 4 اکتبر 2018

---

جستجوی افزونه‌ها

![](https://ps.w.org/wp-tracy/assets/banner-772x250.png?rev=1943241)

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://ps.w.org/wp-tracy/assets/icon-256x256.png?rev=1943241)

# WP Tracy

 توسط [Martin Hlavac](https://profiles.wordpress.org/hlavacm/)

[دانلود](https://downloads.wordpress.org/plugin/wp-tracy.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/wp-tracy/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/wp-tracy/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/wp-tracy/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/wp-tracy/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/wp-tracy/)

## توضیحات

[Tracy](https://github.com/nette/tracy) is an excellent PHP debugger bar from [Nette](https://nette.org)
PHP framework.
 [WP Tracy](https://github.com/ktstudio/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.

## عکس‌های صفحه

[⌊(WP) Tracy bar auto-display after plugin activation⌉⌊(WP) Tracy bar auto-display
after plugin activation⌉[

(WP) Tracy bar auto-display after plugin activation

[⌊Tracy exception screen⌉⌊Tracy exception screen⌉[

Tracy exception screen

[⌊WP versions constants⌉⌊WP versions constants⌉[

WP versions constants

[⌊WP (Logged) User information⌉⌊WP (Logged) User information⌉[

WP (Logged) User information

[⌊(global) WP Post information⌉⌊(global) WP Post information⌉[

(global) WP Post information

[⌊(global) WP Query information⌉⌊(global) WP Query information⌉[

(global) WP Query information

[⌊(global) WP DB information⌉⌊(global) WP DB information⌉[

(global) WP DB information

[⌊Simple setup in the administration Tools menu⌉⌊Simple setup in the administration
Tools menu⌉[

Simple setup in the administration Tools menu

## نصب

 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`

There is also a special constant WP_TRACY_PROGRAMMATICALLY_DISABLED that allows 
you to uninitialized the plugin from the code. For example, It is used for a console.
However it must be defined before plugins loaded.

## سوالات متداول

  What is Tracy?

[Tracy](https://github.com/nette/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`

There is also a special constant WP_TRACY_PROGRAMMATICALLY_DISABLED that allows 
you to uninitialized the plugin from the code. For example, It is used for a console.
However it must be defined before plugins loaded.

  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.

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/52ea57e208bd1ae539882e538aec262bf2539f21aa2d330b19c4f7e563c0865f?
s=60&d=retro&r=g)

### 󠀁[So cool! 🙂](https://wordpress.org/support/topic/so-cool-20/)󠁿

 [pihedy](https://profiles.wordpress.org/pihedy/) 24 ژانویه 2018

I used first the slim fw, but very usefull on wp! 🙂 Great job!

![](https://secure.gravatar.com/avatar/73b6073e8399462ff2a2f8a365f115d678dded1eedd8d427a997176585e96c71?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-3677/)󠁿

 [Litea](https://profiles.wordpress.org/litea/) 8 دسامبر 2016

But i need set easily COLLAPSE or COLLAPSE_COUNT. Thx 🙂

![](https://secure.gravatar.com/avatar/a49d624937024f181de40dc15c929fdf4262d80afc5dc14b21f4c25351e543c2?
s=60&d=retro&r=g)

### 󠀁[Exactly what I needed](https://wordpress.org/support/topic/exactly-what-i-needed-300/)󠁿

 [LosEagle](https://profiles.wordpress.org/loseagle/) 3 سپتامبر 2016

Thanks a lot for this plugin. Can’t imagine development environment without it 🙂

![](https://secure.gravatar.com/avatar/f806627c7db5ec85afe49fa175bd2d8b9deb0a86852329fb44526c88f6292ab3?
s=60&d=retro&r=g)

### 󠀁[Coool](https://wordpress.org/support/topic/coool-8/)󠁿

 [ondravotava](https://profiles.wordpress.org/ondravotava/) 3 سپتامبر 2016

Thx you for implement best Nette tool for development

![](https://secure.gravatar.com/avatar/cc51e65ad8597a4aecbb506526659c2a46af12875ebff5b1d92c41e29e04323f?
s=60&d=retro&r=g)

### 󠀁[So cool!](https://wordpress.org/support/topic/so-cool-12/)󠁿

 [Tomas K.](https://profiles.wordpress.org/tomas-k/) 3 سپتامبر 2016

Very easy to install, see all important variable for develop. Say bay bay to print_r(
$post) and others similary things.

![](https://secure.gravatar.com/avatar/b2a8220f7dae6b03df5a86e24ceeaef777e6c6c648b55782877ecdaba5287a62?
s=60&d=retro&r=g)

### 󠀁[Very usefull](https://wordpress.org/support/topic/very-usefull-111/)󠁿

 [Johnygemityg](https://profiles.wordpress.org/johnygemityg/) 3 سپتامبر 2016

Very usefull for developers. Easy to install.

 [ خواندن تمامی 6 نقد و بررسی‌ ](https://wordpress.org/support/plugin/wp-tracy/reviews/)

## توسعه دهندگان و همکاران

“WP Tracy” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Martin Hlavac ](https://profiles.wordpress.org/hlavacm/)

[ترجمه “WP Tracy” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/wp-tracy)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/wp-tracy/)، [مخزن SVN](https://plugins.svn.wordpress.org/wp-tracy/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/wp-tracy/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/wp-tracy/) مشترک شوید.

## گزارش تغییرات

#### 2.0.1

 * Added constant WP_TRACY_PROGRAMMATICALLY_DISABLED check (before initialization)

#### 2.0.0

 * Simple setup page in the administration Tools menu with Czech translation
 * New constants in the code for default values and behavior
 * Update for Tracy 2.5
 * Two new panels for $wp_roles and $current_screen

#### 1.0.5

 * Initialization is now in scope of WP init action
 * Added WP_TRACY_ENABLE_MODE and wp_tracy_panels_filter
 * Update for Tracy 2.4.2

#### 1.0.4

 * Update for Tracy 2.4(.1)

#### 1.0.3

 * Added new get_queried_object() based panel
 * Update Tracy 2.3.8

#### 1.0.2

 * Update Tracy 2.3.7

#### 1.0.1

 * DOING_AJAX check – for IE compatibility WordPress media upload, thanks to @ViliamKopecky
 * Added constants for translation of error messages
 * Removed Nice Name parameter from User panel

#### 1.0

 * The first version of plugin including (Nette) Tracy 2.3.5

## اطلاعات

 *  نگارش **2.0.1**
 *  آخرین به‌روزرسانی **8 سال پیش**
 *  نصب‌های فعال **80+**
 *  نگارش وردپرس ** 4.0 یا بالاتر **
 *  آزمایش‌شده تا **4.9.31**
 *  نگارش PHP ** 5.4.4 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/wp-tracy/)
 * برچسب
 * [debugger](https://fa.wordpress.org/plugins/tags/debugger/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/wp-tracy/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 6 5-ستاره     ](https://wordpress.org/support/plugin/wp-tracy/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/wp-tracy/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/wp-tracy/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/wp-tracy/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/wp-tracy/reviews/?filter=1)

[بررسی شما](https://wordpress.org/support/plugin/wp-tracy/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/wp-tracy/reviews/)

## مشارکت کنندگان

 *   [ Martin Hlavac ](https://profiles.wordpress.org/hlavacm/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/wp-tracy/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.hlavacm.net/)