PluginProbe
Passster – Password Protect Pages and Content / 4.3.16
Passster – Password Protect Pages and Content v4.3.16
4.3.16 4.3.15 4.3.14 4.3.12 4.3.13 4.3.11 4.3.10 4.3.9 4.3.8 4.3.7 4.3.6 4.3.5 trunk 3.5.4 3.5.5.2 3.5.5.8 3.5.5.9 4.0 4.1.4 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 4.2.15 All 48 releases
← All changes | inc/class-ps-migrator.php +6 -3 4.1.44.3.16 View file →
@@ -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 }