$upgrade_result->
add( 'installation_failed',
__( 'Installation failed.'
) );
$skin->
error( $upgrade_result );
} else { $skin->
feedback( __( 'WordPress updated successfully.'
) );
} } $this->update_results
[ $type ][] =
(object) array
( 'item' =>
$item,
'result' =>
$upgrade_result,
'name' =>
$item_name,
'messages' =>
$skin->
get_upgrade_messages(),
);
return $upgrade_result;
} /**
* Kicks off the background update process, looping through all pending updates.
*
* @since 3.7.0
*/
public function run() {