0 comments on “Updating SLP version wipes out Google API Key”

Updating SLP version wipes out Google API Key

With the WordPress plugin, if you update the version of SLP the Google API key is erased.

This likely impacts other settings as well.

Reproduction

  • Login to admin on localhost (Docker dev container)
  • Go to Store Locator Plus | Options
  • Add a Google API key
  • In the code update wp-content/plugins/store-locator-plus/store-locator-plus.php and change the version
  • Reload the options page

The Google API keys are blank.