Beschrijving
Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.
Debug Bar Query Count Alert
Beschrijving
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.
Installatie
- Upload to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
FAQ
- 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 );
`
Beoordelingen
Bijdragers & ontwikkelaars
“Debug Bar Query Count Alert” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “Debug Bar Query Count Alert” in je eigen taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
0.1
Brand new.






