Make WordPress Core


Ignore:
Timestamp:
07/16/2010 09:40:09 AM (14 years ago)
Author:
westi
Message:

Fix the theme compat file require paths to be fully absolute so they don't rely on a particular php path to work. Fixes #14315 for trunk props dougal.

File:
1 edited

Legend:

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

    r15277 r15433  
    10241024    // Backward compat code will be removed in a future release
    10251025    if ('' == $template)
    1026         $template = WPINC . '/theme-compat/comments-popup.php';
     1026        $template = ABSPATH . WPINC . '/theme-compat/comments-popup.php';
    10271027
    10281028    return apply_filters('comments_popup_template', $template);
     
    10821082    if ( is_array( $wp_query->query_vars ) )
    10831083        extract( $wp_query->query_vars, EXTR_SKIP );
     1084
     1085    error_log( $_template_file );
    10841086
    10851087    if ( $require_once )
Note: See TracChangeset for help on using the changeset viewer.