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: https://develop.svn.wordpress.org/trunk@17123 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-12-23 17:05:47 +00:00
parent f7b9a96f34
commit 1c309312a0
1 changed files with 0 additions and 4 deletions

View File

@ -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 );
}