From ce5c5b0cd9d578c0e64e8ae38a19ad833222d79f Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 6 Dec 2023 16:15:20 +0100 Subject: [PATCH] v 3.10.2 - Add action hooks for query monitor profiling. --- footer.php | 8 +++++--- header.php | 3 +++ package.json | 2 +- style.css | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/footer.php b/footer.php index fbf7182..2447ab0 100644 --- a/footer.php +++ b/footer.php @@ -1,5 +1,7 @@ - - +echo ''; +echo ''; +do_action('qm/stop', 'wputheme_footer'); diff --git a/header.php b/header.php index a6537d7..dd6537f 100644 --- a/header.php +++ b/header.php @@ -1,5 +1,6 @@ @@ -27,3 +28,5 @@ if (apply_filters('wputheme_display_skiplinks', true)) { echo '
'; } } do_action('wputheme_main_overcontent_inajax'); +do_action('qm/stop', 'wputheme_header'); +do_action('qm/start', 'wputheme_content'); diff --git a/package.json b/package.json index af90bcf..2ecc9b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wputheme", - "version": "3.10.1", + "version": "3.10.2", "description": "WPUTheme", "dependencies": {}, "devDependencies": { diff --git a/style.css b/style.css index f3fd06c..082981e 100644 --- a/style.css +++ b/style.css @@ -3,7 +3,7 @@ Theme Name: WP Utilities Base Theme Theme URI: https://github.com/WordPressUtilities/WPUTheme Update URI: https://github.com/WordPressUtilities/WPUTheme Description: A Framework WordPress Theme -Version: 3.10.1 +Version: 3.10.2 Author: Darklg Author URI: https://darklg.me/ License: GPLv2 or later