PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.3.0
Defender Security – Malware Scanner, Login Security & Firewall v6.3.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
← All changes | src/view/mask-login/reset.php +1 -1 5.5.0 → 6.3.0 View file →
@@ -10,9 +10,9 @@
10 10 $post_data = defender_get_data_from_request( null, 'p' );
11 11 if ( isset( $post_data['pass1'], $post_data['pass2'] ) && $post_data['pass1'] !== $post_data['pass2'] ) {
12 12 $error_object->add( 'password_reset_mismatch', esc_html__( 'The passwords do not match.', 'defender-security' ) );
13 13 }
14 -if ( ( ! $error_object->has_errors() ) && ! empty( $post_data['pass1'] ) ) {
14 +if ( ( ! $error_object->has_errors() ) && isset( $post_data['pass1'] ) && is_string( $post_data['pass1'] ) && '' !== trim( $post_data['pass1'] ) ) {
15 15 reset_password( $user, $post_data['pass1'] );
16 16 login_header(
17 17 esc_html__( 'Password Reset', 'defender-security' ),
18 18 sprintf(