Version Description
Download this release
Release Info
Developer | johnbillion |
Plugin | Query Monitor |
Version | 2.13.1 |
Comparing to | |
See all releases |
Code changes from version 2.13.0 to 2.13.1
- collectors/theme.php +3 -2
- query-monitor.php +1 -1
- readme.txt +1 -1
collectors/theme.php
CHANGED
@@ -59,9 +59,10 @@ class QM_Collector_Theme extends QM_Collector {
|
|
59 |
foreach ( self::get_query_template_names() as $template => $conditional ) {
|
60 |
|
61 |
if ( call_user_func( $conditional ) ) {
|
62 |
-
|
|
|
63 |
call_user_func( "get_{$template}_template" );
|
64 |
-
remove_filter( "{$
|
65 |
}
|
66 |
|
67 |
}
|
59 |
foreach ( self::get_query_template_names() as $template => $conditional ) {
|
60 |
|
61 |
if ( call_user_func( $conditional ) ) {
|
62 |
+
$filter = str_replace( '_', '', $template );
|
63 |
+
add_filter( "{$filter}_template_hierarchy", array( $this, 'filter_template_hierarchy' ), 999 );
|
64 |
call_user_func( "get_{$template}_template" );
|
65 |
+
remove_filter( "{$filter}_template_hierarchy", array( $this, 'filter_template_hierarchy' ), 999 );
|
66 |
}
|
67 |
|
68 |
}
|
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.13.
|
6 |
Plugin URI: https://github.com/johnbillion/query-monitor
|
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.13.1
|
6 |
Plugin URI: https://github.com/johnbillion/query-monitor
|
7 |
Author: John Blackbourn
|
8 |
Author URI: https://johnblackbourn.com/
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: johnbillion
|
|
3 |
Tags: ajax, debug, debug-bar, debugging, development, developer, performance, profiler, profiling, queries, query monitor, rest-api
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 4.6
|
6 |
-
Stable tag: 2.13.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
View debugging and performance information on database queries, hooks, conditionals, HTTP requests, redirects and more.
|
3 |
Tags: ajax, debug, debug-bar, debugging, development, developer, performance, profiler, profiling, queries, query monitor, rest-api
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 4.6
|
6 |
+
Stable tag: 2.13.1
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
View debugging and performance information on database queries, hooks, conditionals, HTTP requests, redirects and more.
|