diff --git wp-includes/template.php wp-includes/template.php
index d86a677..5d402b2 100644
--- wp-includes/template.php
+++ wp-includes/template.php
@@ -26,6 +26,8 @@ function get_query_template( $type, $templates = array() ) {
 	if ( empty( $templates ) )
 		$templates = array("{$type}.php");
 
+	$templates = apply_filters( "{$type}_template_hierarchy", $templates );
+
 	return apply_filters( "{$type}_template", locate_template( $templates ) );
 }
 
