Keep existing options when saving colors

This commit is contained in:
Brian Miyaji
2015-04-26 13:57:46 +10:00
parent 5502b50049
commit 2a2c1acd45

View File

@@ -215,7 +215,9 @@ class SP_Settings_General extends SP_Settings_Page {
'link' => $link,
);
update_option( 'themeboy', $colors );
$options = get_option( 'themeboy' );
$options = array_merge( $options, $colors );
update_option( 'themeboy', $options );
}
}