Index: widgets.php
===================================================================
--- widgets.php	(revision 5803)
+++ widgets.php	(working copy)
@@ -416,6 +416,20 @@
 <?php
 }
 
+function wp_widget_tag_cloud($args) {
+	global $wp_db_version;
+	extract($args, EXTR_SKIP);
+	# Plugin Author: Jeremy Visser
+	echo $before_widget;
+	# echo $before_title . 'Tags' . $after_title;
+
+	echo '<div class="tag-cloud">';
+	wp_tag_cloud();
+	echo '</div>';
+
+	echo $after_widget;
+}
+
 function wp_widget_archives($args) {
 	extract($args);
 	$options = get_option('widget_archives');
@@ -1113,6 +1127,9 @@
 	$class['classname'] = 'widget_search';
 	wp_register_sidebar_widget('search', __('Search'), 'wp_widget_search', $class);
 	
+	$class['classname'] = 'widget_tag_cloud';
+	wp_register_sidebar_widget('tag_cloud', __('Tag cloud'), 'wp_widget_tag_cloud', $class);
+	
 	$class['classname'] = 'widget_recent_entries';
 	wp_register_sidebar_widget('recent-posts', __('Recent Posts'), 'wp_widget_recent_entries', $class);
 	wp_register_widget_control('recent-posts', __('Recent Posts'), 'wp_widget_recent_entries_control', $dims90);
