Index: trunk/wp-includes/user.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- trunk/wp-includes/user.php	(revision 21827)
+++ trunk/wp-includes/user.php	(revision )
@@ -594,7 +594,9 @@
 				$searches[] = "$col LIKE '$leading_wild" . like_escape($string) . "$trailing_wild'";
 		}
 
-		return ' AND (' . implode(' OR ', $searches) . ')';
+		$search = ' AND (' . implode(' OR ', $searches) . ')';
+
+		return apply_filters_ref_array( 'user_search_sql', array( $search, $string, $cols, $searches, $wild ) );
 	}
 
 	/**
Index: trunk/wp-includes/comment.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- trunk/wp-includes/comment.php	(revision 21827)
+++ trunk/wp-includes/comment.php	(revision )
@@ -372,7 +372,9 @@
 		foreach ( $cols as $col )
 			$searches[] = "$col LIKE '%$string%'";
 
-		return ' AND (' . implode(' OR ', $searches) . ')';
+		$search = ' AND (' . implode(' OR ', $searches) . ')';
+
+		return apply_filters_ref_array( 'comment_search_sql', array( $search, $string, $cols, $searches ) );
 	}
 }
 
