diff --git a/components/db_queries.php b/components/db_queries.php index a02e64bcc..c57973dcf 100644 --- a/components/db_queries.php +++ b/components/db_queries.php @@ -136,7 +136,7 @@ function output( $args, $data ) { echo '
' . sprintf( __( 'Database Queries Above %ss', 'query-monitor' ), number_format_i18n( QM_DB_EXPENSIVE, $dp ) ) . ' | '; + echo '' . sprintf( __( 'Slow Database Queries (above %ss)', 'query-monitor' ), number_format_i18n( QM_DB_EXPENSIVE, $dp ) ) . ' | '; echo '||||||
---|---|---|---|---|---|---|---|
' . __( 'Query', 'query-monitor' ) . ' | '; diff --git a/components/hooks.php b/components/hooks.php index ca303f654..e1e511dbd 100644 --- a/components/hooks.php +++ b/components/hooks.php @@ -67,7 +67,7 @@ function process_late() { else $class = $function['function'][0]; - if ( $qm_class == $class ) + if ( ( $qm_class == $class ) or ( 0 === strpos( $class, 'QM_' ) ) ) $css_class = 'qm-qm'; $out = $class . '->' . $function['function'][1] . '()'; } else { @@ -145,4 +145,4 @@ function register_qm_hooks( $qm ) { add_filter( 'query_monitor_components', 'register_qm_hooks', 80 ); -?> +?> \ No newline at end of file diff --git a/query-monitor.php b/query-monitor.php index 4e1e7a849..c24bc4009 100644 --- a/query-monitor.php +++ b/query-monitor.php @@ -2,7 +2,7 @@ /* Plugin Name: Query Monitor Description: Monitoring of database queries, hooks, conditionals and more. -Version: 2.2b +Version: 2.2 Author: John Blackbourn Author URI: http://lud.icro.us/ Text Domain: query-monitor diff --git a/wp-content/db.php b/wp-content/db.php index 6936fbffe..b2f9d0d53 100644 --- a/wp-content/db.php +++ b/wp-content/db.php @@ -1,7 +1,7 @@