Problem in comment-functions.php?
-
Hi,
I think I have found a bug in the newes nigthly built(12.02.2005).
In the comment-functions.php at line 23-26:
if ( file_exists( TEMPLATEPATH . $file )
require( TEMPLATEPATH . $file );
else
require( ABSPATH . "wp-content/themes/default/comments.php");
endif;
That if-function loads the “wp-content/themes/default/comments.php” only. It’s doesn’t load any other comments.php because $file is empty.
It works when you use:
if ( file_exists( TEMPLATEPATH . "/comments.php") )
require( TEMPLATEPATH . "/comments.php");
else
require( ABSPATH . "wp-content/themes/default/comments.php");Should I added it in the mosquito Bugtracker?
– bjoern
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Problem in comment-functions.php?’ is closed to new replies.