Skip to content

Commit

Permalink
v 3.10.2
Browse files Browse the repository at this point in the history
- Add action hooks for query monitor profiling.
  • Loading branch information
Darklg committed Dec 6, 2023
1 parent 1543371 commit ce5c5b0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
8 changes: 5 additions & 3 deletions footer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php
include dirname(__FILE__) . '/z-protect.php';
do_action('qm/stop', 'wputheme_content');
do_action('qm/start', 'wputheme_footer');
do_action('wputheme_main_undercontent_inajax');
if (defined('IS_AJAX') && IS_AJAX) {
$current_url = strtok($_SERVER["REQUEST_URI"], '?');
Expand All @@ -20,6 +22,6 @@
get_template_part('tpl/footer/copyright');
}
wp_footer();
?>
</body>
</html>
echo '</body>';
echo '</html>';
do_action('qm/stop', 'wputheme_footer');
3 changes: 3 additions & 0 deletions header.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
require_once dirname( __FILE__ ) . '/z-protect.php';
do_action('qm/start', 'wputheme_header');
if (!defined('IS_AJAX') || !IS_AJAX ) {
?>
<head><?php echo wp_head(); ?></head>
Expand Down Expand Up @@ -27,3 +28,5 @@
if (apply_filters('wputheme_display_skiplinks', true)) { echo '<div id="maincontent"></div>'; }
}
do_action('wputheme_main_overcontent_inajax');
do_action('qm/stop', 'wputheme_header');
do_action('qm/start', 'wputheme_content');
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wputheme",
"version": "3.10.1",
"version": "3.10.2",
"description": "WPUTheme",
"dependencies": {},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce5c5b0

Please sign in to comment.