diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 51d8cd7922..9d2f905af6 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -912,12 +912,8 @@ function get_date_template() { * @return string */ function get_home_template() { - $template = get_post_meta( get_queried_object_id(), '_wp_page_template', true); $templates = array( 'home.php', 'index.php' ); - if ( ! empty( $template ) ) - array_unshift( $templates, $template ); - return get_query_template( 'home', $templates ); }