| 1 | | Hey everyone! Switching this up just a bit to match the other activate/deactivate/install/uninstall hooks. This new patch ads before & after hooks, which enables plugins to get information about the plugin (like file headers) being deleted before it happens. |
| | 1 | Hey everyone! Switching this up just a bit to match the other activate/deactivate/install/uninstall hooks. This new patch adds before & after hooks, which enables plugins to get information about the plugin (like file headers) being deleted before it happens. |
| | 2 | |
| | 3 | ---- |
| | 4 | |
| | 5 | For additional context, the way I stumbled into this omission is from [https://wordpress.org/support/topic/not-seeing-filtering-options-settings-some-activity-not-recorded?replies=2 a forum topic for my WP User Activity plugin], where a user noticed no activity was logged when a plugin was deleted from the file system. This was originally because no `delete_plugin` action existed, but in digging deeper I found the action was added here, but that it's impossible to get the name of the plugin being deleted after it's no longer in the file system (go figure, right?) |