| @@ -46,9 +46,9 @@ | ||
| 46 | 46 | $errors['api_key'] = __( 'API Key field cannot be empty.', 'templately' ); |
| 47 | 47 | } |
| 48 | 48 | } else { |
| 49 | 49 | $funcArgs['email'] = $email; |
| 50 | - $funcArgs['password'] = $password; | |
| 50 | + $funcArgs['password'] = addcslashes( $password, '"' ); | |
| 51 | 51 | |
| 52 | 52 | if ( ! filter_var( $email, FILTER_VALIDATE_EMAIL ) ) { |
| 53 | 53 | $errors['email'] = __( 'Make sure you have given a valid email address.', 'templately' ); |
| 54 | 54 | } |