[wp-cvs]
wordpress/wp-includes template-functions-comment.php, 1.21, 1.22
Matthew Mullenweg
saxmatt at users.sourceforge.net
Thu Jun 10 02:42:58 CDT 2004
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24873/wp-includes
Modified Files:
template-functions-comment.php
Log Message:
Move comments include into function.
Index: template-functions-comment.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-comment.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** template-functions-comment.php 24 May 2004 08:22:18 -0000 1.21
--- template-functions-comment.php 10 Jun 2004 07:42:48 -0000 1.22
***************
*** 17,20 ****
--- 17,26 ----
add_filter('comment_excerpt', 'convert_chars');
+ function comments_template() {
+ global $withcomments, $single, $post, $wpdb, $id, $comment;
+ if ( $single || $withcomments )
+ include(ABSPATH . 'wp-comments.php');
+ }
+
function clean_url($url) {
if ('' == $url) return $url;
More information about the cvs
mailing list