Just updated Generatepress theme and all custom files are deleted from /wp-content/themes/generatepress, so i lost all my work….. how to secure from this in the future? I’m using “Custom Post Type UI” plugin to create a custom pages.
Ugh I’m sorry to hear that. It’s super important not to make any changes to things that will be updated (plugins, themes, WordPress itself) as the WP update process deletes the old version and installs the new version.