Make WordPress Core

Changeset 17123


Ignore:
Timestamp:
12/23/2010 05:05:47 PM (13 years ago)
Author:
nacin
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r17102 r17123  
    913913 */
    914914function get_home_template() {
    915     $template = get_post_meta( get_queried_object_id(), '_wp_page_template', true);
    916915    $templates = array( 'home.php', 'index.php' );
    917 
    918     if ( ! empty( $template ) )
    919         array_unshift( $templates, $template );
    920916
    921917    return get_query_template( 'home', $templates );
Note: See TracChangeset for help on using the changeset viewer.