HEX
Server: LiteSpeed
System: Linux ragasnapis.serveriai.lt 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64
User: amdygua1 (1144)
PHP: 8.3.19
Disabled: link, symlink, exec, passthru, proc_close, proc_get_status, proc_open, shell_exec, system, popen, pclose, dl, show_source, highlight_file, pcntl_exec, ini_restore, ini_alter, chgrp
Upload Files
File: /home/amdygua1/domains/amicalingua1.lt/public_html/wp-content/themes/blocksy/inc/php-fallback.php
<?php

if (! function_exists('blocksy_switch_theme')) {
	function blocksy_switch_theme() {
		switch_theme( WP_DEFAULT_THEME );
		unset( $_GET['activated'] );
		add_action( 'admin_notices', 'blocksy_upgrade_notice' );
	}
}
add_action( 'after_switch_theme', 'blocksy_switch_theme' );

if (! function_exists('blocksy_upgrade_notice')) {
	function blocksy_upgrade_notice() {
		$message = blocksy_safe_sprintf(
			// translators: placeholder here is the actual PHP version.
			__( 'Blocksy requires at least PHP version 5.7.0. You are running version %s. Please upgrade and try again.', 'blocksy' ),
			PHP_VERSION
		);

		printf( '<div class="error"><p>%s</p></div>', wp_kses_post($message) );
	}
}

if (! function_exists('blocksy_customize')) {
	function blocksy_customize() {
		wp_die( blocksy_safe_sprintf(
			// translators: placeholder here is the actual PHP version.
			esc_html(__( 'Blocksy requires at least PHP version 5.7.0. You are running version %s. Please upgrade and try again.', 'blocksy' )),
			PHP_VERSION
		), '', array(
			'back_link' => true,
		) );
	}
}
add_action( 'load-customize.php', 'blocksy_customize' );

if (! function_exists('blocksy_preview')) {
	function blocksy_preview() {
		if ( isset( $_GET['preview'] ) ) {
			wp_die( blocksy_safe_sprintf(
				// translators: placeholder here is the actual PHP version.
				esc_html(__( 'Blocksy requires at least PHP version 5.7.0. You are running version %s. Please upgrade and try again.', 'blocksy' )),
				PHP_VERSION
			) );
		}
	}
}
add_action( 'template_redirect', 'blocksy_preview' );