Astra_Theme_Update::v_1_4_3_alpha_1()
Function to backward compatibility for version less than 1.4.3 Set the new option different-retina-logo to true for users who are already using a retina logo.
Description
Source
File: inc/theme-update/class-astra-theme-update.php
public static function v_1_4_3_alpha_1() {
$mobile_header_logo = astra_get_option( 'ast-header-retina-logo' );
$theme_options = get_option( 'astra-settings' );
if ( '' != $mobile_header_logo ) {
$theme_options['different-retina-logo'] = '1';
}
update_option( 'astra-settings', $theme_options );
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.4.3-aplha.1 | Introduced. |