????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 216.73.216.116 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.se/wp-content/plugins/cornerstone/includes/classes/debug/ |
Upload File : |
<?php class Cornerstone_Debug extends Cornerstone_Plugin_Component { public function setup() { add_action( 'parse_request', array( $this, 'detect_load' ) ); } public function detect_load( $wp ) { if ( ! ( current_user_can('manage_options') && isset( $_GET['cs-debug'] ) && '1' === $_GET['cs-debug'] ) ) { return; } add_filter( 'template_include', '__return_empty_string', 999999 ); remove_all_actions( 'wp_enqueue_scripts' ); remove_all_actions( 'wp_print_styles' ); remove_all_actions( 'wp_print_head_scripts' ); global $wp_styles; global $wp_scripts; $wp_styles = new WP_Styles(); $wp_scripts = new WP_Scripts(); if ( !class_exists('WP_Admin_Bar') ) { _wp_admin_bar_init(); } $this->show_admin_bar = true; nocache_headers(); $this->boilerplate(); exit; } public function boilerplate() { ?> <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <title>CS Debug</title> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <?php wp_enqueue_scripts(); wp_print_styles(); wp_print_head_scripts(); ?> </head> <body<?php $this->body_classes(); ?>> <?php do_action('cs_debug'); wp_print_footer_scripts(); wp_admin_bar_render(); ?> </body> </html> <?php } public function body_classes() { $classes = array( 'no-customize-support' ); if ( is_rtl() ) { $classes[] = 'rtl'; } if ( $this->show_admin_bar ) { $classes[] = 'admin-bar'; } if ( empty( $classes ) ) { return; } $classes = array_map( 'esc_attr', array_unique( $classes ) ); $class = join( ' ', $classes ); echo " class=\"$class\""; } }