????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.191 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.eu/wp-content/themes/Avada/includes/upgrade/ |
Upload File : |
<?php
// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
exit( 'Direct script access denied.' );
}
/**
* Handle migrations for Avada 3.8.5.
*
* @since 5.0.0
*/
class Avada_Upgrade_385 extends Avada_Upgrade_Abstract {
/**
* The version.
*
* @access protected
* @since 5.0.0
* @var string
*/
protected $version = '3.8.5';
/**
* The actual migration process.
*
* @access protected
* @since 5.0.0
*/
protected function migration_process() {
$options = $this->avada_options;
// We no longer have a less compiler.
// Migrate the less_compiler option to the new dynamic_css_compiler option.
if ( isset( $options['less_compiler'] ) ) {
$options['dynamic_css_compiler'] = $options['less_compiler'];
}
// We added an independent theme option for content box icons.
if ( isset( $options['icon_color'] ) ) {
$options['content_box_icon_color'] = $options['icon_color'];
}
if ( isset( $options['icon_circle_color'] ) ) {
$options['content_box_icon_bg_color'] = $options['icon_circle_color'];
}
if ( isset( $options['icon_border_color'] ) ) {
$options['content_box_icon_bg_inner_border_color'] = $options['icon_border_color'];
}
if ( isset( $options['h2_font_size'] ) ) {
$options['post_titles_font_size'] = $options['h2_font_size'];
$options['post_titles_extras_font_size'] = $options['h2_font_size'];
}
if ( isset( $options['h2_font_lh'] ) ) {
$options['post_titles_font_lh'] = $options['h2_font_lh'];
}
// Update the options with our modifications.
update_option( 'Avada_options', $options );
}
}