Commit b2eb9f4d authored by Michael Iseard's avatar Michael Iseard
Browse files

Copy old theme setting to new setting

parent d66d8c74
......@@ -82,6 +82,10 @@ class ActivatorService {
if ( version_compare( $old_version, '2.3.2', '<' ) ) {
// Setting now replaced by 'theme_colors'
$old_color = Settings::get_setting('theme_color');
$new_colors = Settings::get_setting('theme_colors');
$new_colors['primary'] = $old_color;
Settings::update_setting('theme_colors', $new_colors);
Settings::remove_setting( 'theme_color' );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment