From 8a6ec685fbd3722b9f4fc4f966fcf3eb520ad8c1 Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 23 Dec 2010 17:05:47 +0000 Subject: [PATCH] Revert [16915]. Don't honor the page template for the posts page. Deal with this with a better UX in 3.2. see #15513, fixes #15945. git-svn-id: http://svn.automattic.com/wordpress/trunk@17123 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 4 ---- 1 file changed, 4 deletions(-) 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 ); }