Skip to content

Commit

Permalink
Let's call this 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Apr 9, 2012
1 parent c5e81d8 commit 5bfc7f3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/db_queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function output( $args, $data ) {
echo '<table cellspacing="0">';
echo '<thead>';
echo '<tr>';
echo '<th colspan="4">' . sprintf( __( 'Database Queries Above %ss', 'query-monitor' ), number_format_i18n( QM_DB_EXPENSIVE, $dp ) ) . '</th>';
echo '<th colspan="4">' . sprintf( __( 'Slow Database Queries (above %ss)', 'query-monitor' ), number_format_i18n( QM_DB_EXPENSIVE, $dp ) ) . '</th>';
echo '</tr>';
echo '<tr>';
echo '<th>' . __( 'Query', 'query-monitor' ) . '</th>';
Expand Down
4 changes: 2 additions & 2 deletions components/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -145,4 +145,4 @@ function register_qm_hooks( $qm ) {

add_filter( 'query_monitor_components', 'register_qm_hooks', 80 );

?>
?>
2 changes: 1 addition & 1 deletion query-monitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion wp-content/db.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/*
Plugin Name: Query Monitor
Version: 2.2b
Version: 2.2
Move this file into your wp-content directory to provide additional
database query information in Query Monitor's output.
Expand Down

0 comments on commit 5bfc7f3

Please sign in to comment.