diff --git a/wp-includes/template.php b/wp-includes/template.php
index b2e4e24..dd91d3b 100644
|
a
|
b
|
function get_query_template( $type, $templates = array() ) { |
| 26 | 26 | if ( empty( $templates ) ) |
| 27 | 27 | $templates = array("{$type}.php"); |
| 28 | 28 | |
| | 29 | |
| | 30 | |
| | 31 | /** |
| | 32 | * Filter the template target filenames. |
| | 33 | * |
| | 34 | * @since 4.5.0 |
| | 35 | * |
| | 36 | * @param array $templates templates to search for. |
| | 37 | * @param string $type Template type. |
| | 38 | */ |
| | 39 | $templates = apply_filters( "get_query_template", $templates, $type ); |
| | 40 | |
| | 41 | |
| | 42 | |
| 29 | 43 | $template = locate_template( $templates ); |
| 30 | 44 | |
| 31 | 45 | /** |