mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-20 11:14:28 +00:00
Always return a value in Plugin_Upgrader::deactivate_plugin_before_upgrade(). Props jdgrimes. Fixes #29088.
git-svn-id: https://develop.svn.wordpress.org/trunk@30761 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1036,6 +1036,8 @@ class Plugin_Upgrader extends WP_Upgrader {
|
||||
//Deactivate the plugin silently, Prevent deactivation hooks from running.
|
||||
deactivate_plugins($plugin, true);
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user