Query Monitor - Version 3.7.1

Version Description

Download this release

Release Info

Developer johnbillion
Plugin Icon 128x128 Query Monitor
Version 3.7.1
Comparing to
See all releases

Code changes from version 3.7.0 to 3.7.1

Files changed (3) hide show
  1. collectors/overview.php +4 -0
  2. query-monitor.php +1 -1
  3. readme.txt +5 -12
collectors/overview.php CHANGED
@@ -37,6 +37,10 @@ class QM_Collector_Overview extends QM_Collector {
37
  }
38
 
39
  public function process() {
 
 
 
 
40
  $this->data['time_limit'] = ini_get( 'max_execution_time' );
41
  $this->data['time_start'] = $GLOBALS['timestart'];
42
 
37
  }
38
 
39
  public function process() {
40
+ if ( ! isset( $data['time_taken'] ) ) {
41
+ $this->process_timing();
42
+ }
43
+
44
  $this->data['time_limit'] = ini_get( 'max_execution_time' );
45
  $this->data['time_start'] = $GLOBALS['timestart'];
46
 
query-monitor.php CHANGED
@@ -10,7 +10,7 @@
10
  *
11
  * Plugin Name: Query Monitor
12
  * Description: The Developer Tools Panel for WordPress.
13
- * Version: 3.7.0
14
  * Plugin URI: https://querymonitor.com/
15
  * Author: John Blackbourn
16
  * Author URI: https://querymonitor.com/
10
  *
11
  * Plugin Name: Query Monitor
12
  * Description: The Developer Tools Panel for WordPress.
13
+ * Version: 3.7.1
14
  * Plugin URI: https://querymonitor.com/
15
  * Author: John Blackbourn
16
  * Author URI: https://querymonitor.com/
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: johnbillion
3
  Tags: debug, debug-bar, debugging, development, developer, performance, profiler, queries, query monitor, rest-api
4
  Requires at least: 3.7
5
  Tested up to: 5.7
6
- Stable tag: 3.7.0
7
  License: GPLv2 or later
8
  Requires PHP: 5.3
9
  Donate link: https://johnblackbourn.com/donations/
@@ -131,6 +131,10 @@ In addition, if you like the plugin then I'd love for you to [leave a review](ht
131
 
132
  ## Changelog ##
133
 
 
 
 
 
134
  ### 3.7.0 ###
135
 
136
  * <a href="https://querymonitor.com/blog/2021/05/debugging-wordpress-rest-api-requests/">Introduce debugging output in a `qm` property in enveloped REST API responses</a>
@@ -458,14 +462,3 @@ New features! Read about them here: https://querymonitor.com/blog/2019/02/new-fe
458
  * Add associative keys to the array passed to the `qm/built-in-collectors` filter.
459
  * Drop support for PHP 5.2.
460
  * Generally improve performance and reduce memory usage.
461
-
462
- ### 2.17.0 ###
463
-
464
- * Add the current user object to the Request panel.
465
- * A few improvements to the appearance of the overall layout.
466
- * Use relative positioning in place of the nasty absolute position hack needed for some themes.
467
- * Ensure the `get_*_template()` function exists before calling it.
468
- * Add a `QM_DISABLE_ERROR_HANDLER` constant to disable QM's error handling.
469
- * Switch to runtime filtering of user capabilities instead of granting the `view_query_monitor` cap upon activation.
470
- * Correct a bunch of inline docs and code standards.
471
-
3
  Tags: debug, debug-bar, debugging, development, developer, performance, profiler, queries, query monitor, rest-api
4
  Requires at least: 3.7
5
  Tested up to: 5.7
6
+ Stable tag: 3.7.1
7
  License: GPLv2 or later
8
  Requires PHP: 5.3
9
  Donate link: https://johnblackbourn.com/donations/
131
 
132
  ## Changelog ##
133
 
134
+ ### 3.7.1 ###
135
+
136
+ * Add a fallback for timing processing during Ajax requests that are dispatched before the `shutdown` hook.
137
+
138
  ### 3.7.0 ###
139
 
140
  * <a href="https://querymonitor.com/blog/2021/05/debugging-wordpress-rest-api-requests/">Introduce debugging output in a `qm` property in enveloped REST API responses</a>
462
  * Add associative keys to the array passed to the `qm/built-in-collectors` filter.
463
  * Drop support for PHP 5.2.
464
  * Generally improve performance and reduce memory usage.