Plugins: Clean up uninstall_plugins option during database upgrade.

`register_uninstall_hook()` is designed to be given a function callback (or a static class variable), not an array/object instance. This got blocked in [16339] but the option itself was never cleaned up.

Props polevaultweb.
Fixes #31625.

git-svn-id: https://develop.svn.wordpress.org/trunk@37965 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling
2016-07-05 13:27:38 +00:00
parent 59b0096dfe
commit 961dd36801
2 changed files with 24 additions and 5 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ $wp_version = '4.6-beta1-37926-src';
*
* @global int $wp_db_version
*/
$wp_db_version = 37854;
$wp_db_version = 37965;
/**
* Holds the TinyMCE version