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 +8 -3 4.04.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,10 +94,13 @@
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',
101 + 'form_border_radius' => 0,
102 + 'button_border_radius' => 0,
99 103 );
100 104
101 105 foreach ( $customizer_data as $option => $value ) {
102 106 if ( ! empty( $value ) ) {
@@ -167,11 +171,12 @@
167 171 // Migrate Global Protection settings.
168 172 $options['global_protection_id'] = get_option( 'passster_global_id' );
169 173
170 174 // Also add new options to avoid missing keys on migration.
171 - $options['password_length'] = "6";
172 - $options['include_uppercase'] = false;
173 - $options['include_numbers'] = false;
175 + $options['password_length'] = "12";
176 + $options['include_uppercase'] = true;
177 + $options['include_numbers'] = true;
178 + $options['include_symbols'] = true;
174 179 $options['cookie_duration_unit'] = 'days';
175 180
176 181 return $options;
177 182 }