Index: wp-includes/taxonomy.php
===================================================================
--- wp-includes/taxonomy.php	(revision 15366)
+++ wp-includes/taxonomy.php	(working copy)
@@ -998,6 +998,8 @@
 	}
 	$select_this = implode(', ', apply_filters( 'get_terms_fields', $selects, $args ));
 
+	$where = apply_filters( 'get_terms_where', $where, $args );
+
 	$query = "SELECT $select_this FROM $wpdb->terms AS t INNER JOIN $wpdb->term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ($in_taxonomies) $where $orderby $order $limit";
 
 	if ( 'count' == $fields ) {
