javiercasares / wpvulnerability

Plugin WPVulnerability for WordPress. https://wordpress.org/plugins/wpvulnerability/
27 stars 4 forks source link

Prefilled Default administrator email gives Test email has failed. #120

Open ipajen opened 4 weeks ago

ipajen commented 4 weeks ago

Bug Report

Description

Prefilled Default administrator email gives Test email has failed.

Environment

Steps to Reproduce

  1. Don't enter any "Email addresses to notify", use the Default administrator email: for example: my@email.se
  2. Go to Email test and click on "Send email" It shows that The mail will be sent from: my@email.se
  3. 🐞 Bug occurs.

Expected Results

  1. ✅ No error message and the default email should be used.

Actual Results

  1. ❌ Error message "Test email has failed. Please, check your email settings." and Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in \wp-includes\pluggable.php on line 225

Note: If entering the email adress in Email addresses to notify everything works fine.