Skip to content

mboynes/debug-bar-query-count-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Debug Bar Query Count Alert

Replaces the default text in the Debug Bar Plugin's Admin 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.

Debug Bar Query Count Alert demo, normal state   Debug Bar Query Count Alert demo, notice state   Debug Bar Query Count Alert demo, warning state

About

A simple add-on for the Debug Bar plugin to replace the button text with the database query count and time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages