Open ChemicalSailor opened 9 years ago
Thanks for the suggestion. I'll definitely look into adding a filter for changing the directory for the next release.
That sounds great. When you say filter do you mean using the add_filter mechanism? Defining a constant in wp_config would be better.
Good point. I'll make it a constant.
Here's a PR for you: https://github.com/expandedfronts/revisr/pull/105
Saving DB backups in the uploads directory is a reasonable default but there should be an option to save them elsewhere (e.g wp-content/revisr_backups/). In my environment I have uploads ignored by git hence mysqldump are also ignored.