Astra Pro DB Option (astra-settings)
-
I am working on a plugin to copy a WordPress blog in a multisite environment (subdomain). Everything works great except when it comes to copying the astra-settings option in the database. I replace the URLs inside the astra-settings option with that of the new blog subdomain. When I do that, Astra clears out all settings in the serialized array. If I leave the URLs from the copied site, it works fine and the astra-settings option doesn’t get wiped out.
This is what gets replaced with the settings that are there if I update paths using a regex:
a:6:{s:28:"remove-widget-design-options";b:1;s:24:"astra-addon-auto-version";s:5:"3.5.8";s:28:"is_astra_addon_queue_running";b:0;s:18:"theme-auto-version";s:5:"3.6.8";s:22:"is_theme_queue_running";b:0;s:33:"_astra_pb_compatibility_completed";b:1;}
Anyone know what could cause this update? Is there site id somewhere tied to the setting that gets looked up by URL?
Thanks!
- The topic ‘Astra Pro DB Option (astra-settings)’ is closed to new replies.