PluginProbe
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions / 261011
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions v261011
261011 261001 260927 260917 260913 260909 260829 260814 260805 110710 110731 110812 110815 110912 110913 110915 110926 110927 111002 111003 111011 111017 111029 111105 111206 All 192 releases
← All changes | src/includes/syscon.inc.php +4 -3 261001 → 261011 View file →
@@ -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];