Title: Debug Bar Query Count Alert
Author: Matthew Boynes
Published: <strong>02.02.2014</strong>
Last modified: 02.02.2014

---

Поиск плагинов

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://s.w.org/plugins/geopattern-icon/debug-bar-query-count-alert.svg)

# Debug Bar Query Count Alert

 Автор: [Matthew Boynes](https://profiles.wordpress.org/mboynes/)

[Скачать](https://downloads.wordpress.org/plugin/debug-bar-query-count-alert.0.1.zip)

 * [Детали](https://ru.wordpress.org/plugins/debug-bar-query-count-alert/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/debug-bar-query-count-alert/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/debug-bar-query-count-alert/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/debug-bar-query-count-alert/#developers)

 [Поддержка](https://wordpress.org/support/plugin/debug-bar-query-count-alert/)

## Описание

Replaces the default text in the Debug Bar button (which is «Debug Bar» by default
in English) with the page’s query count and total sql time. The button will be red
if there were more than 200 queries or they took more than 1 second to run, and 
orange if the page required more than 100 queries or took more than 0.5 seconds 
to run.

Requires the [Debug Bar plugin](https://wordpress.org/plugins/debug-bar-console/)
and for the constant `SAVEQUERIES` to be true.

Inspired by the Admin Bar on WordPress.com VIP, which offers similar functionality.

## Скриншоты

[⌊This is the normal state.⌉⌊This is the normal state.⌉[

This is the normal state.

[⌊This is the notice state.⌉⌊This is the notice state.⌉[

This is the notice state.

[⌊This is the warning state.⌉⌊This is the warning state.⌉[

This is the warning state.

## Установка

 1. Upload to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Часто задаваемые вопросы

  Can I alter the color-coded thresholds?

Yes, absolutely. In your theme or plugin, you can set these values as follows:

`

  Lower the query count limits to 50 and 100

Debug_Bar_Query_Count_Button()->query_count_limits = array( 50, 100 );

  Lower the query time limits to 250ms and 500ms

Debug_Bar_Query_Count_Button()->query_time_limits = array( 0.25, 0.5 );
 `

## Отзывы

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

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-4426/)󠁿

 [shaeirving1](https://profiles.wordpress.org/shaeirving1/) 08.02.2017

Excellent plugin, has helped our business in many ways

 [ Посмотреть все 2 отзыва ](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/)

## Участники и разработчики

«Debug Bar Query Count Alert» — проект с открытым исходным кодом. В развитие плагина
внесли свой вклад следующие участники:

Участники

 *   [ Matthew Boynes ](https://profiles.wordpress.org/mboynes/)
 *   [ Alley ](https://profiles.wordpress.org/alleyinteractive/)

[Перевести «Debug Bar Query Count Alert» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/debug-bar-query-count-alert)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/debug-bar-query-count-alert/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/debug-bar-query-count-alert/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/debug-bar-query-count-alert/)
по [RSS](https://plugins.trac.wordpress.org/log/debug-bar-query-count-alert/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 0.1

Brand new.

## Мета

 *  Версия **0.1**
 *  Обновление: **13 лет назад**
 *  Активных установок: **10+**
 *  Версия WordPress ** 3.1 или выше **
 *  Совместим вплоть до: **3.7.41**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/debug-bar-query-count-alert/)
 * Метки:
 * [debug](https://ru.wordpress.org/plugins/tags/debug/)[debug bar](https://ru.wordpress.org/plugins/tags/debug-bar/)
   [developer](https://ru.wordpress.org/plugins/tags/developer/)[mysql](https://ru.wordpress.org/plugins/tags/mysql/)
   [performance](https://ru.wordpress.org/plugins/tags/performance/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/debug-bar-query-count-alert/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  2 5-звездный отзыв     ](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/)

## Участники

 *   [ Matthew Boynes ](https://profiles.wordpress.org/mboynes/)
 *   [ Alley ](https://profiles.wordpress.org/alleyinteractive/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/debug-bar-query-count-alert/)