function addthis_save_settings($input)
 {
     global $addThisConfigs;
     // if special, do special, else
     if (isset($input['addthis_csr_confirmation']) && $input['addthis_csr_confirmation'] == 'true') {
         if (isset($input['addthis_profile']) && wp_verify_nonce($_POST['pubid_nonce'], 'update_pubid')) {
             $configs['addthis_profile'] = $input['addthis_profile'];
         }
     } elseif (count($input) > 2) {
         // there should be more than two entires in forms posted from this
         // plugin
         $configs = addthis_parse_options($input);
     }
     if (isset($configs)) {
         $addThisConfigs->saveConfigs($configs);
     }
 }
 function addthis_save_settings($input)
 {
     global $addThisConfigs;
     $options_array = $addThisConfigs->getConfigs();
     // if special, do special, else
     if (isset($input['addthis_csr_confirmation']) && $input['addthis_csr_confirmation'] == 'true') {
         if (isset($input['addthis_profile']) && wp_verify_nonce($_POST['pubid_nonce'], 'update_pubid')) {
             $options_array['addthis_profile'] = $input['addthis_profile'];
         }
     } else {
         $options_array = addthis_parse_options($input);
     }
     return $options_array;
 }
function addthis_save_settings($input)
{
    $options_array = addthis_parse_options($input);
    return $options_array;
}
 function addthis_save_settings($input)
 {
     global $addThisConfigs;
     // if special, do special, else
     if (isset($input['addthis_csr_confirmation']) && $input['addthis_csr_confirmation'] == 'true') {
         if (isset($input['addthis_profile']) && wp_verify_nonce($_POST['pubid_nonce'], 'update_pubid')) {
             $configs['addthis_profile'] = $input['addthis_profile'];
         }
     } else {
         $configs = addthis_parse_options($input);
     }
     if (isset($configs)) {
         $addThisConfigs->saveConfigs($configs);
     }
 }