pressidium/pressidium-cookie-consent

Issues when importing settings from older versions

Closed this issue · 2 comments

Initially reported by @aminux on the WordPress.org support forum.

There are some issues when importing settings from older versions.

Upon review, I discovered the following:

  • The Migrator sets an incorrect default value for the font property
  • Importing settings updates the UI without a prior refetch

Importing settings from older versions of the plugin caused problems due to the pressidium_options.font property having an invalid default value.

Additionally, we now re-fetch the settings during import to ensure they appear correctly on the settings page.

Closing as resolved.