Title: Debug Bar Query Count Alert
Author: Matthew Boynes
Published: <strong>2 Fevereiro, 2014</strong>
Last modified: 2 Fevereiro, 2014

---

Procurar plugins

Este plugin **não foi testado com as 3 últimas grandes versões do WordPress**. Pode
já não ser suportado e pode ter problemas de compatibilidade quando usado com versões
mais recentes do WordPress.

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

# Debug Bar Query Count Alert

 Por [Matthew Boynes](https://profiles.wordpress.org/mboynes/)

[Descarregar](https://downloads.wordpress.org/plugin/debug-bar-query-count-alert.0.1.zip)

 * [Detalhes](https://pt.wordpress.org/plugins/debug-bar-query-count-alert/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/debug-bar-query-count-alert/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/debug-bar-query-count-alert/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/debug-bar-query-count-alert/#developers)

 [Suporte](https://wordpress.org/support/plugin/debug-bar-query-count-alert/)

## Descrição

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.

## Ecrãs

 * [[
 * This is the normal state.
 * [[
 * This is the notice state.
 * [[
 * This is the warning state.

## Instalação

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

## Perguntas frequentes

  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 );
 `

## Avaliações

![](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/) 8 Fevereiro, 2017

Excellent plugin, has helped our business in many ways

 [ Ler todas as 2 avaliações ](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/)

## Contribuidores e programadores

“Debug Bar Query Count Alert” é software de código aberto. As seguintes pessoas 
contribuíram para este plugin:

Contribuidores

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

[Traduza o “Debug Bar Query Count Alert” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/debug-bar-query-count-alert)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/debug-bar-query-count-alert/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/debug-bar-query-count-alert/),
ou subscreva o [registo de alterações](https://plugins.trac.wordpress.org/log/debug-bar-query-count-alert/)
por [RSS](https://plugins.trac.wordpress.org/log/debug-bar-query-count-alert/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

#### 0.1

Brand new.

## Metadados

 *  Versão **0.1**
 *  Última actualização **Há 12 anos**
 *  Instalações activas **10+**
 *  Versão do WordPress ** 3.1 ou superior **
 *  Testado até **3.7.41**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/debug-bar-query-count-alert/)
 * Etiquetas
 * [debug](https://pt.wordpress.org/plugins/tags/debug/)[debug bar](https://pt.wordpress.org/plugins/tags/debug-bar/)
   [developer](https://pt.wordpress.org/plugins/tags/developer/)[mysql](https://pt.wordpress.org/plugins/tags/mysql/)
   [performance](https://pt.wordpress.org/plugins/tags/performance/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/debug-bar-query-count-alert/advanced/)

## Classificações

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/debug-bar-query-count-alert/reviews/)

## Contribuidores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/debug-bar-query-count-alert/)