javiercasares / wpvulnerability

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

Save changes gives Settings saved x 2 #119

Open ipajen opened 3 weeks ago

ipajen commented 3 weeks ago

Bug Report

Description

A minor issue but save changes gives "Settings saved" dialog x 2

Environment

Steps to Reproduce

  1. Go to Settings-wpvulnerability
  2. Click on "Save changes" once under "Receive notifications in your email" OR "Vulnerabilities to hide"
  3. 🐞 Bug occurs.

Expected Results

  1. ✅ Settings saved. should only come once.

Actual Results

  1. ❌ "Settings saved." is shown twice.

Note: even If the values is changed on both under "Receive notifications in your email" and "Vulnerabilities to hide" it only saves the values where the save button is.

settingsaved

javiercasares commented 3 weeks ago

Yes… It is unclear to me why it does that… I will check again…