| @@ -46,8 +46,9 @@ | ||
| 46 | 46 | 'instruction_font_size' => get_theme_mod( 'passster_form_instructions_text_font_size' ), |
| 47 | 47 | 'instruction_font_weight' => get_theme_mod( 'passster_form_instructions_text_font_weight' ), |
| 48 | 48 | 'button_background_color' => get_theme_mod( 'passster_form_button_background_color' ), |
| 49 | 49 | 'button_font_color' => get_theme_mod( 'passster_form_button_text_color' ), |
| 50 | + 'button_font_size' => '16px', | |
| 50 | 51 | 'button_background_color_hover' => get_theme_mod( 'passster_form_button_background_hover_color' ), |
| 51 | 52 | 'button_font_color_hover' => get_theme_mod( 'passster_form_button_text_hover_color' ), |
| 52 | 53 | 'form_max_width' => '700px', |
| 53 | 54 | 'form_border_radius' => 0, |
| @@ -93,8 +94,9 @@ | ||
| 93 | 94 | 'instruction_font_size' => 16, |
| 94 | 95 | 'instruction_font_weight' => 300, |
| 95 | 96 | 'button_background_color' => '#6804cc', |
| 96 | 97 | 'button_font_color' => '#fff', |
| 98 | + 'button_font_size' => 16, | |
| 97 | 99 | 'button_background_color_hover' => '#000', |
| 98 | 100 | 'button_font_color_hover' => '#fff', |
| 99 | 101 | 'form_border_radius' => 0, |
| 100 | 102 | 'button_border_radius' => 0, |
| @@ -169,11 +171,12 @@ | ||
| 169 | 171 | // Migrate Global Protection settings. |
| 170 | 172 | $options['global_protection_id'] = get_option( 'passster_global_id' ); |
| 171 | 173 | |
| 172 | 174 | // Also add new options to avoid missing keys on migration. |
| 173 | - $options['password_length'] = "6"; | |
| 174 | - $options['include_uppercase'] = false; | |
| 175 | - $options['include_numbers'] = false; | |
| 175 | + $options['password_length'] = "12"; | |
| 176 | + $options['include_uppercase'] = true; | |
| 177 | + $options['include_numbers'] = true; | |
| 178 | + $options['include_symbols'] = true; | |
| 176 | 179 | $options['cookie_duration_unit'] = 'days'; |
| 177 | 180 | |
| 178 | 181 | return $options; |
| 179 | 182 | } |