BACK TO DIRECTORY

Debug Bar Query Count Alert

by Matthew Boynes

5.0
(2 ratings)

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 and for the constant SAVEQUERIES to be true.

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

Screenshots

This is the normal state.

This is the normal state.

This is the notice state.

This is the notice state.

This is the warning state.

This is the warning state.

Plugin Details

Active Installs
10
Total Downloads
3,657
Version
0.1
Requires WP
3.1
Requires PHP
Tested Up To
3.7.41
Added
2014-02-02
Last Updated
2014-02-02 7:02pm GMT

Ratings

5
2
4
0
3
0
2
0
1
0