
Index: E:/EclipseWorkWeb/WordPressDev/wp-admin/includes/template.php
===================================================================
--- E:/EclipseWorkWeb/WordPressDev/wp-admin/includes/template.php	(revision 6662)
+++ E:/EclipseWorkWeb/WordPressDev/wp-admin/includes/template.php	(working copy)
@@ -261,12 +261,19 @@
 // Outputs appropriate rows for the Nth page of the Tag Management screen,
 // assuming M tags displayed at a time on the page 
 // Returns the number of tags displayed
-function tag_rows( $page = 0, $pagesize = 20 ) {
+function tag_rows( $page = 0, $pagesize = 20, $searchterms = '' ) {
 	
 	// Get a page worth of tags
 	$start = $page * $pagesize;
-	$tags = get_terms( 'post_tag', "offset=$start&number=$pagesize&hide_empty=0"  );
 	
+	$search = '';
+	if( strlen( $searchterms )) {
+		$searchterms = attribute_escape( $searchterms );
+		$search = "&name__like=%$searchterms";
+	}
+	
+	$tags = get_terms( 'post_tag', "offset=$start&number=$pagesize&hide_empty=0$search"  );
+	
 	// convert it to table rows
 	$out = '';
 	$class = '';
Index: E:/EclipseWorkWeb/WordPressDev/wp-admin/edit-tags.php
===================================================================
--- E:/EclipseWorkWeb/WordPressDev/wp-admin/edit-tags.php	(revision 6662)
+++ E:/EclipseWorkWeb/WordPressDev/wp-admin/edit-tags.php	(working copy)
@@ -86,6 +86,17 @@
 <?php else : ?>
 	<h2><?php _e('Tags') ?> </h2>
 <?php endif; ?>
+
+<form name="searchform" id="searchform" action="" method="get">
+	<fieldset><legend><?php _e('Tag contains&hellip;'); ?></legend>
+		<input type="text" name="s" id="s" value="<?php echo stripslashes( $_GET[ 's' ]); ?>" size="17" />
+	</fieldset>
+
+	<input type="submit" id="post-query-submit" value="<?php _e('Filter &#187;'); ?>" class="button" />
+</form>
+<br style="clear:both;" />
+
+
 <table class="widefat">
 	<thead>
 	<tr>
@@ -101,7 +112,9 @@
 if( !$tagsperpage || $tagsperpage < 0 ) {
 	$tagsperpage = 20;
 }
-$count = tag_rows( $pagenum, $tagsperpage );
+$searchterms = trim( $_GET['s'] );
+
+$count = tag_rows( $pagenum, $tagsperpage, $searchterms );
 ?>
 	</tbody>
 </table>

