Index: trunk/wp-includes/taxonomy.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- trunk/wp-includes/taxonomy.php	(revision 21827)
+++ trunk/wp-includes/taxonomy.php	(revision )
@@ -725,7 +725,9 @@
 		else
 			$where = '';
 
-		return compact( 'join', 'where' );
+		$sql = compact( 'join', 'where' );
+
+		return apply_filters( 'get_tax_sql', $sql, $primary_table, $primary_id_column, $query, $operator, $terms, $this->relation );
 	}
 
 	/**
