[wp-trac] [WordPress Trac] #30673: plugin uninstall.php not called when multisite site is deleted
WordPress Trac
noreply at wordpress.org
Thu Dec 11 16:02:28 UTC 2014
#30673: plugin uninstall.php not called when multisite site is deleted
--------------------------------+-----------------------------
Reporter: dpik | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 4.0.1
Severity: normal | Keywords:
Focuses: multisite |
--------------------------------+-----------------------------
I have a multisite installation (4.0.1) with revolution slider plugin
installed. This plugin has an uninstall.php file (that deletes revslider's
database tables) which should be called on plugin removal
(http://codex.wordpress.org/Function_Reference/register_uninstall_hook).
It does not call the register_uninstall_hook function.
The problem is: when i delete a site from the network dashboard, revslider
databases are kept, meaning that uninstall.php was not called. I'm not
sure this issue can be addressed and i did not tried with a plugin using
the register_uninstall_hook (which is the best method if i did understand
the documentation correctly).
Questions: Can this problem be fixed ? Is the register_uninstall_hook
called when deleting a site in multisite configuration ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30673>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list