Skip to content

Commit 9149d2a

Browse files
committed
Update Query Monitor plugin from 3.20.1 to 3.20.2
1 parent ba0edba commit 9149d2a

5 files changed

Lines changed: 12 additions & 10 deletions

File tree

wp-content/plugins/query-monitor/collectors/db_queries.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ public function process_db_object() {
117117
return;
118118
}
119119

120+
$this->data->rows = array();
121+
120122
$types = array();
121123
$total_time = 0;
122124
$has_result = false;

wp-content/plugins/query-monitor/query-monitor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* Plugin Name: Query Monitor
1212
* Description: The developer tools panel for WordPress.
13-
* Version: 3.20.1
13+
* Version: 3.20.2
1414
* Plugin URI: https://querymonitor.com/
1515
* Plugin ID: did:plc:q2afge25l63iz553aumeqi3w
1616
* Author: John Blackbourn
@@ -37,7 +37,7 @@
3737
exit;
3838
}
3939

40-
define( 'QM_VERSION', '3.20.1' );
40+
define( 'QM_VERSION', '3.20.2' );
4141

4242
// This must be required before vendor/autoload.php so QM can serve its own message about PHP compatibility.
4343
require_once __DIR__ . '/classes/PHP.php';

wp-content/plugins/query-monitor/readme.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Contributors: johnbillion
44
Tags: debug, debug-bar, development, performance, query monitor
55
Tested up to: 6.9
6-
Stable tag: 3.20.1
6+
Stable tag: 3.20.2
77
License: GPL v2 or later
88
Donate link: https://github.com/sponsors/johnbillion
99

@@ -135,6 +135,10 @@ Yes. You can enable this on the Settings panel.
135135
In addition, if you like the plugin then I'd love for you to [leave a review](https://wordpress.org/support/view/plugin-reviews/query-monitor). Tell all your friends about it too!
136136
## Changelog ##
137137

138+
### 3.20.2 (11 December 2025) ###
139+
140+
- Prevents a PHP error being triggered under certain conditions and when no database queries are performed.
141+
138142
### 3.20.1 (8 December 2025) ###
139143

140144
* Confirms support for WordPress 6.9.
@@ -186,10 +190,6 @@ In addition, if you like the plugin then I'd love for you to [leave a review](ht
186190
* Prevents an infinite loop when logging doing it wrong calls and deprecated calls.
187191
* Removes a global from query-monitor.php
188192

189-
### 3.16.2 (22 May 2024) ###
190-
191-
* Fixes another issue with the PHP autoloader in 3.16.0 and 3.16.1 that was crashing some sites
192-
193193
### Earlier versions ###
194194

195195
For the changelog of earlier versions, <a href="https://github.com/johnbillion/query-monitor/releases">refer to the releases page on GitHub</a>.

wp-content/plugins/query-monitor/vendor/composer/installed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'name' => 'johnbillion/query-monitor',
44
'pretty_version' => 'dev-release',
55
'version' => 'dev-release',
6-
'reference' => 'ce77e146009a2070aa36c02ba15566f5a7e53e1b',
6+
'reference' => 'bc95417367b681bc3ec1820c67492976a43918a1',
77
'type' => 'wordpress-plugin',
88
'install_path' => __DIR__ . '/../../',
99
'aliases' => array(),
@@ -13,7 +13,7 @@
1313
'johnbillion/query-monitor' => array(
1414
'pretty_version' => 'dev-release',
1515
'version' => 'dev-release',
16-
'reference' => 'ce77e146009a2070aa36c02ba15566f5a7e53e1b',
16+
'reference' => 'bc95417367b681bc3ec1820c67492976a43918a1',
1717
'type' => 'wordpress-plugin',
1818
'install_path' => __DIR__ . '/../../',
1919
'aliases' => array(),

wp-content/plugins/query-monitor/wp-content/db.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: Query Monitor Database Class (Drop-in)
44
* Description: Database drop-in for Query Monitor, the developer tools panel for WordPress.
5-
* Version: 3.20.1
5+
* Version: 3.20.2
66
* Plugin URI: https://querymonitor.com/
77
* Author: John Blackbourn
88
* Author URI: https://querymonitor.com/

0 commit comments

Comments
 (0)