From 5bfc7f385a4dae7fc8f6ce8e9d55de07d22bf12d Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 9 Apr 2012 16:54:48 +0100 Subject: [PATCH] Let's call this 2.2 --- components/db_queries.php | 2 +- components/hooks.php | 4 ++-- query-monitor.php | 2 +- wp-content/db.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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 ''; echo ''; echo ''; - echo ''; + echo ''; echo ''; echo ''; echo ''; 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 @@
' . sprintf( __( 'Database Queries Above %ss', 'query-monitor' ), number_format_i18n( QM_DB_EXPENSIVE, $dp ) ) . '' . sprintf( __( 'Slow Database Queries (above %ss)', 'query-monitor' ), number_format_i18n( QM_DB_EXPENSIVE, $dp ) ) . '
' . __( 'Query', 'query-monitor' ) . '