403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /inetpub/wwwroot/icd/mscinformatics2022/wp-content/themes/flash/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/icd/mscinformatics2022/wp-content/themes/flash/inc/migration.php
<?php
/**
 * Migration scripts for Flash theme.
 *
 * @package    ThemeGrill
 * @subpackage Flash
 * @since      Flash 1.3.8
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Migrate all of the customize options.
 *
 * @since Flash 1.3.8
 */
function flash_page_header_bg_customize_migrate() {

	// Bail out if the migration is already done.
	if ( get_option( 'flash_page_header_bg_customize_migrate' ) ) {
		return;
	}

	$old_bg = get_theme_mod( 'flash_pageheader_background', '' );

	if ( $old_bg ) {
		set_theme_mod( 'flash_pageheader_background_image', $old_bg );
		remove_theme_mod( 'flash_pageheader_background' );
	}

	update_option( 'flash_page_header_bg_customize_migrate', true );
}
add_action( 'after_setup_theme', 'flash_page_header_bg_customize_migrate' );

Youez - 2016 - github.com/yon3zu
LinuXploit