Remove this new filter as it didn't get enough discussion prior to addition.
Revisit later. See #14310. git-svn-id: http://svn.automattic.com/wordpress/trunk@17316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3927f60c18
commit
42f57d4798
|
@ -745,8 +745,6 @@ function get_query_template( $type, $templates = array() ) {
|
||||||
if ( empty( $templates ) )
|
if ( empty( $templates ) )
|
||||||
$templates = array("{$type}.php");
|
$templates = array("{$type}.php");
|
||||||
|
|
||||||
$templates = apply_filters( "{$type}_template_hierarchy", $templates );
|
|
||||||
|
|
||||||
return apply_filters( "{$type}_template", locate_template( $templates ) );
|
return apply_filters( "{$type}_template", locate_template( $templates ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue