Plugin Upgrader: Plugin_Upgrader::upgrade() returns nothing in event of success, every other install(), upgrade() and bulk_upgrade() method returns true, so return true;

Built from https://develop.svn.wordpress.org/trunk@25181


git-svn-id: http://core.svn.wordpress.org/trunk@25153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse 2013-08-30 07:38:09 +00:00
parent d3bd82f0ac
commit d221f04e60

View File

@ -470,6 +470,8 @@ class Plugin_Upgrader extends WP_Upgrader {
delete_site_transient('update_plugins');
wp_cache_delete( 'plugins', 'plugins' );
do_action( 'upgrader_process_complete', $this, array( 'action' => 'update', 'type' => 'plugin' ), $plugin );
return true;
}
function bulk_upgrade($plugins) {