WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/16/2010 09:44:49 AM (8 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 3.0 branch
props dougal.

File:
1 edited

Legend:

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

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