Elementor clear cache after restore
-
Hi,
I saw that there is a
flush_elementor_cache()method in the restore function and it is working fine in most cases. Today I’ve noticed that I have some widgets with the local URLs when I migrate a backup to my online server. If I click the “new”Elementor Clear files & Databutton it’s fixed. Is there anything missing in/includes/new_backup/class-wpvivid-restore2.php(line 1672) that should be cleared? In Elementor it would becore/files/manager.php(line 107). There are moredelete_post_meta_by_keymethods in the Elementor file. A few versions ago they’ve renamed the oldRegenerated style and scriptsbecause it does more things now with the local font cache and widget cache. So my guess is that WPVivid needs to updateflush_elementor_cache()to clear everything again.My workflow:
a widget with an URL field where I havehttp://localhost/~user/folderin my local instance, I do a backup, upload the ZIP to my server, restore it and the URL is still the same. When I click theElementor Clear files & Cachebutton it will be the correct server URL.
The topic ‘Elementor clear cache after restore’ is closed to new replies.