Current Path: > home > transcarter > > > www > wp-content > > > plugins > query-monitor > > output > html
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.135 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
admin.php | File | 3489 bytes | July 17 2025 21:05:45. | |
assets.php | File | 8350 bytes | July 17 2025 21:05:45. | |
assets_scripts.php | File | 1408 bytes | July 17 2025 21:05:45. | |
assets_styles.php | File | 1386 bytes | July 17 2025 21:05:45. | |
block_editor.php | File | 10533 bytes | July 17 2025 21:05:45. | |
caps.php | File | 5922 bytes | July 17 2025 21:05:45. | |
conditionals.php | File | 3071 bytes | July 17 2025 21:05:45. | |
db_callers.php | File | 3930 bytes | July 17 2025 21:05:45. | |
db_components.php | File | 3841 bytes | July 17 2025 21:05:45. | |
db_dupes.php | File | 5302 bytes | July 17 2025 21:05:45. | |
db_queries.php | File | 17886 bytes | July 17 2025 21:05:45. | |
debug_bar.php | File | 2167 bytes | July 17 2025 21:05:45. | |
doing_it_wrong.php | File | 4684 bytes | July 17 2025 21:05:45. | |
environment.php | File | 8470 bytes | July 17 2025 21:05:45. | |
headers.php | File | 3422 bytes | July 17 2025 21:05:45. | |
hooks.php | File | 7284 bytes | July 17 2025 21:05:45. | |
http.php | File | 11621 bytes | July 17 2025 21:05:45. | |
languages.php | File | 5745 bytes | July 17 2025 21:05:45. | |
logger.php | File | 5926 bytes | July 17 2025 21:05:45. | |
multisite.php | File | 3876 bytes | July 17 2025 21:05:45. | |
overview.php | File | 12846 bytes | July 17 2025 21:05:45. | |
php_errors.php | File | 9418 bytes | July 17 2025 21:05:45. | |
request.php | File | 6567 bytes | July 17 2025 21:05:45. | |
theme.php | File | 8352 bytes | July 17 2025 21:05:45. | |
timing.php | File | 6259 bytes | July 17 2025 21:05:45. | |
transients.php | File | 4292 bytes | July 17 2025 21:05:45. |
<?php declare(strict_types = 1); /** * 'Debug Bar' output for HTML pages. * * @package query-monitor */ if ( ! defined( 'ABSPATH' ) ) { exit; } class QM_Output_Html_Debug_Bar extends QM_Output_Html { /** * Collector instance. * * @var QM_Collector_Debug_Bar Collector. */ protected $collector; public function __construct( QM_Collector $collector ) { parent::__construct( $collector ); add_filter( 'qm/output/menus', array( $this, 'admin_menu' ), 200 ); } /** * @return string */ public function name() { /** @var string */ return $this->collector->get_panel()->title(); } /** * @return void */ public function output() { $class = get_class( $this->collector->get_panel() ); if ( ! $class ) { return; } $target = sanitize_html_class( $class ); $this->before_debug_bar_output(); echo '<div id="debug-menu-target-' . esc_attr( $target ) . '" class="debug-menu-target qm-debug-bar-output">'; ob_start(); $this->collector->render(); $panel = (string) ob_get_clean(); $panel = str_replace( array( '<h4', '<h3', '<h2', '<h1', '</h4>', '</h3>', '</h2>', '</h1>', ), array( '<h5', '<h4', '<h3', '<h2', '</h5>', '</h4>', '</h3>', '</h2>', ), $panel ); echo $panel; // phpcs:ignore echo '</div>'; $this->after_debug_bar_output(); } } /** * @param array<string, QM_Output> $output * @param QM_Collectors $collectors * @return array<string, QM_Output> */ function register_qm_output_html_debug_bar( array $output, QM_Collectors $collectors ) { global $debug_bar; if ( empty( $debug_bar ) ) { return $output; } foreach ( $debug_bar->panels as $panel ) { $class = get_class( $panel ); if ( ! $class ) { continue; } $panel_id = strtolower( sanitize_html_class( $class ) ); /** @var QM_Collector_Debug_Bar|null */ $collector = QM_Collectors::get( "debug_bar_{$panel_id}" ); if ( $collector && $collector->is_visible() ) { $output[ "debug_bar_{$panel_id}" ] = new QM_Output_Html_Debug_Bar( $collector ); } } return $output; } add_filter( 'qm/outputter/html', 'register_qm_output_html_debug_bar', 200, 2 );
SILENT KILLER Tool