WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/03/2010 09:57:24 AM (11 years ago)
Author:
westi
Message:

First pass of compatibility code for old themes which relied on using templates from the default theme without expressly identifying it as the parent theme.
Fixes #12425 and #13009.
The fallback to these template files is now depreceated and will be removed in a future version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-template.php

    r14347 r14365  
    890890    elseif ( file_exists( TEMPLATEPATH . $file ) )
    891891        require( TEMPLATEPATH .  $file );
    892     else
    893         require( get_theme_root() . '/'.WP_FALLBACK_THEME.'/comments.php');
     892    else // Backward compat code will be removed in a future release
     893        require( WPINC . '/theme-compat/comments.php');
    894894}
    895895
Note: See TracChangeset for help on using the changeset viewer.