I have a problem that theme options is not updating, so after tracking down the problem i have reached to the sanitize_option_{$option}
filter, so before applying the filter i var_dump
ed the $value
then die
so i can see the result and the result was as expected (an array of newly updated options) but once the filter applies the result is null, i don't know why?
To be noted that i have WPML active, and also i have a custom plugin which implements the same options' class applied to the theme but strangely the plugin is updating but not the theme....