| @@ -184,10 +184,11 @@ | ||
| 184 | 184 | |
| 185 | 185 | $default_options['custom_reg_auto_opt_outs'] = array(); |
| 186 | 186 | $default_options['custom_reg_auto_opt_out_transitions'] = '0'; |
| 187 | 187 | |
| 188 | - $default_options['custom_reg_fields_4bp'] = array(); | |
| 189 | - $default_options['custom_reg_force_personal_emails'] = ''; | |
| 188 | + $default_options['custom_reg_fields_4bp'] = array(); | |
| 189 | + $default_options['custom_reg_force_personal_emails'] = ''; | |
| 190 | + $default_options['custom_reg_require_valid_email_domain'] = '0'; //261005.0548 Opt-in DNS mail-domain validation during account creation and s2Member Profile email changes. | |
| 190 | 191 | |
| 191 | 192 | $default_options['allow_subscribers_in'] = '0'; |
| 192 | 193 | $default_options['force_admin_lockouts'] = '0'; |
| 193 | 194 | $default_options['filter_wp_query'] = array('all'); |
| @@ -509,9 +510,9 @@ | ||
| 509 | 510 | |
| 510 | 511 | else if($key === 'custom_reg_fields' && (!is_string($value) || !strlen($value))) |
| 511 | 512 | $value = $default_options[$key]; |
| 512 | 513 | |
| 513 | - else if(preg_match('/^custom_reg_(?:names|password|password_min_length|opt_in|auto_opt_out_transitions)$/', $key) && (!is_string($value) || !is_numeric($value))) | |
| 514 | + else if(preg_match('/^custom_reg_(?:names|password|password_min_length|opt_in|auto_opt_out_transitions|require_valid_email_domain)$/', $key) && (!is_string($value) || !is_numeric($value))) | |
| 514 | 515 | $value = $default_options[$key]; |
| 515 | 516 | |
| 516 | 517 | else if($key === 'custom_reg_password_min_strength' && (!is_string($value) || !strlen($value))) |
| 517 | 518 | $value = $default_options[$key]; |