When a plugin is being updated via the automatic updater, is that plugin deactivated and then re activated when the plugin update is finished?
Also is a maintenance file created during theme and plugin updates, or only during core updates?
|
When a plugin is being updated via the automatic updater, is that plugin deactivated and then re activated when the plugin update is finished? Also is a maintenance file created during theme and plugin updates, or only during core updates? |
|||
|
|
|
According to the source code of wp-admin/includes/class-wp-upgrader.php Single plugin update:
It'll deactivate the plugin before upgrade and you need to re-activate it manually after upgrade. No maintenance file generated Bulk Pluigns Update
No deactivation before upgrade. The plugin status will be as what it was. So, if it is activated now, it'll still be activated after upgrade. And maintenance file will be generated if running in Multisite OR the plugin is in use. I urge you to read the source code yourself in case if I'm wrong. |
||||
|
|