Make WordPress Core


Ignore:
Timestamp:
07/16/2010 09:40:09 AM (13 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/comment-template.php

    r15363 r15433  
    921921        require( TEMPLATEPATH .  $file );
    922922    else // Backward compat code will be removed in a future release
    923         require( WPINC . '/theme-compat/comments.php');
     923        require( ABSPATH . WPINC . '/theme-compat/comments.php');
    924924}
    925925
Note: See TracChangeset for help on using the changeset viewer.