Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26904, comment 17


Ignore:
Timestamp:
11/14/2015 06:36:58 PM (10 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26904, comment 17

    initial v1  
    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.
     1Hey 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
     5For 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?)