WordPress allows you to update plugins from the Dashboard with one click. When doing these plugin updates via the dashboard, WordPress says it performs the following steps:
- De-activate the old plugin
- Replace the old files with the new files
- Re-activate the new plugin
I am setting up a deployment process (with Git) where I will manually update the files for all plugins instead of using the built in plugin updater in the dashboard.
My question is: Do I need to de-activate and re-activate the plugin before/after updating the files? Or can I just swap out the old plugin files with the new plugin files?