From 3b723b31eebff7bfe45b7a548af65aea2db5968e Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sun, 28 Aug 2016 23:56:04 +0000 Subject: [PATCH] Themes: Correct the list of possible values for the dynamic portion of the `{$type}_template_hierarchy` and `{$type}_template` filters. See #14310 git-svn-id: https://develop.svn.wordpress.org/trunk@38428 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/template.php b/src/wp-includes/template.php index 998ba3a50f..8873ea0e3b 100644 --- a/src/wp-includes/template.php +++ b/src/wp-includes/template.php @@ -32,7 +32,7 @@ function get_query_template( $type, $templates = array() ) { * The last element in the array should always be the fallback template for this query type. * * Possible values for `$type` include: 'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date', - * 'embed', home', 'front_page', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'. + * 'embed', home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'. * * @since 4.7.0 * @@ -50,7 +50,7 @@ function get_query_template( $type, $templates = array() ) { * This hook also applies to various types of files loaded as part of the Template Hierarchy. * * Possible values for `$type` include: 'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date', - * 'embed', home', 'front_page', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'. + * 'embed', home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'. * * @since 1.5.0 *