From bdb4930bbeff25270abbb0ddb4c46853a5372e88 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Sat, 15 Jan 2011 23:44:06 +0000 Subject: [PATCH] Remove this new filter as it didn't get enough discussion prior to addition. Revisit later. See #14310. git-svn-id: https://develop.svn.wordpress.org/trunk@17316 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/theme.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 8de8ae3816..c2960557db 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -745,8 +745,6 @@ 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 ) ); }