Version Description
- Remove a file that was accidentally committed to the wordpress.org repo
Download this release
Release Info
Developer | johnbillion |
Plugin | Query Monitor |
Version | 2.6.1 |
Comparing to | |
See all releases |
Code changes from version 2.6 to 2.6.1
- output/headers/redirects.php +0 -46
- query-monitor.php +1 -1
- readme.txt +4 -1
output/headers/redirects.php
DELETED
@@ -1,46 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
|
4 |
-
Copyright 2013 John Blackbourn
|
5 |
-
|
6 |
-
This program is free software; you can redistribute it and/or modify
|
7 |
-
it under the terms of the GNU General Public License as published by
|
8 |
-
the Free Software Foundation; either version 2 of the License, or
|
9 |
-
(at your option) any later version.
|
10 |
-
|
11 |
-
This program is distributed in the hope that it will be useful,
|
12 |
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
-
GNU General Public License for more details.
|
15 |
-
|
16 |
-
*/
|
17 |
-
|
18 |
-
class QM_Output_Headers_Redirects extends QM_Output_Headers {
|
19 |
-
|
20 |
-
public function output() {
|
21 |
-
|
22 |
-
$qm = QueryMonitor::init();
|
23 |
-
|
24 |
-
if ( ! $qm->did_redirect() )
|
25 |
-
return;
|
26 |
-
if ( ! $qm->show_query_monitor() )
|
27 |
-
return;
|
28 |
-
|
29 |
-
$data = $this->collector->get_data();
|
30 |
-
|
31 |
-
if ( empty( $data ) )
|
32 |
-
return;
|
33 |
-
|
34 |
-
header( sprintf( 'X-QM-Redirect-Trace: %s',
|
35 |
-
implode( ', ', $data['stack'] )
|
36 |
-
) );
|
37 |
-
|
38 |
-
}
|
39 |
-
|
40 |
-
}
|
41 |
-
|
42 |
-
function register_qm_output_headers_redirects( QM_Output $output = null, QM_Collector $collector ) {
|
43 |
-
return new QM_Output_Headers_Redirects( $collector );
|
44 |
-
}
|
45 |
-
|
46 |
-
add_filter( 'query_monitor_output_headers_redirects', 'register_qm_output_headers_redirects', 10, 2 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
query-monitor.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Query Monitor
|
4 |
Description: Monitoring of database queries, hooks, conditionals and more.
|
5 |
-
Version: 2.6
|
6 |
Plugin URI: https://github.com/johnbillion/QueryMonitor
|
7 |
Author: John Blackbourn
|
8 |
Author URI: https://johnblackbourn.com/
|
2 |
/*
|
3 |
Plugin Name: Query Monitor
|
4 |
Description: Monitoring of database queries, hooks, conditionals and more.
|
5 |
+
Version: 2.6.1
|
6 |
Plugin URI: https://github.com/johnbillion/QueryMonitor
|
7 |
Author: John Blackbourn
|
8 |
Author URI: https://johnblackbourn.com/
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: johnbillion
|
|
3 |
Tags: debug, debugging, development, developer, performance, profiler, profiling, queries
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 3.8
|
6 |
-
Stable tag: 2.6
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
View debugging and performance information on database queries, hooks, conditionals, HTTP requests, redirects and more.
|
@@ -120,6 +120,9 @@ I know!
|
|
120 |
|
121 |
== Changelog ==
|
122 |
|
|
|
|
|
|
|
123 |
= 2.6 =
|
124 |
* Toggleable stack traces for queries
|
125 |
* Show deprecated errors in the PHP Errors panel
|
3 |
Tags: debug, debugging, development, developer, performance, profiler, profiling, queries
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 3.8
|
6 |
+
Stable tag: 2.6.1
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
View debugging and performance information on database queries, hooks, conditionals, HTTP requests, redirects and more.
|
120 |
|
121 |
== Changelog ==
|
122 |
|
123 |
+
= 2.6.1 =
|
124 |
+
* Remove a file that was accidentally committed to the wordpress.org repo
|
125 |
+
|
126 |
= 2.6 =
|
127 |
* Toggleable stack traces for queries
|
128 |
* Show deprecated errors in the PHP Errors panel
|