Uname:Linux ip-11-115-0-196 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 10:54:48 UTC 2025 x86_64

403WebShell
403Webshell
Server IP : 13.126.101.145  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ip-11-115-0-196 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 10:54:48 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.3.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/rentals_updated/wp-content/plugins/query-monitor/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/rentals_updated/wp-content/plugins/query-monitor/classes/debug_bar_panel.php
<?php declare(strict_types = 1);
/**
 * Mock 'Debug Bar' panel class.
 *
 * @package query-monitor
 */

abstract class Debug_Bar_Panel {

	/**
	 * @var string
	 */
	public $_title = '';

	/**
	 * @var bool
	 */
	public $_visible = true;

	/**
	 * @param string $title
	 */
	public function __construct( $title = '' ) {
		$this->title( $title );

		if ( $this->init() === false ) {
			$this->set_visible( false );
			return;
		}

		add_filter( 'debug_bar_classes', array( $this, 'debug_bar_classes' ) );
	}

	/**
	 * Initializes the panel.
	 *
	 * @return false|void
	 */
	public function init() {}

	/**
	 * @return void
	 */
	public function prerender() {}

	/**
	 * Renders the panel.
	 *
	 * @return void
	 */
	public function render() {}

	/**
	 * @return bool
	 */
	public function is_visible() {
		return $this->_visible;
	}

	/**
	 * @param bool $visible
	 * @return void
	 */
	public function set_visible( $visible ) {
		$this->_visible = $visible;
	}

	/**
	 * @param string|null $title
	 * @return string|void
	 */
	public function title( $title = null ) {
		if ( ! isset( $title ) ) {
			return $this->_title;
		}
		$this->_title = $title;
	}

	/**
	 * @param array<int, string> $classes
	 * @return array<int, string>
	 */
	public function debug_bar_classes( $classes ) {
		return $classes;
	}

	/**
	 * @param string $title
	 * @return void
	 */
	public function Debug_Bar_Panel( $title = '' ) {
		self::__construct( $title );
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit