Make WordPress Core


Ignore:
Timestamp:
06/10/2004 07:42:48 AM (22 years ago)
Author:
saxmatt
Message:

Move comments include into function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-comment.php

    r1355 r1398  
    1616
    1717add_filter('comment_excerpt', 'convert_chars');
     18
     19function comments_template() {
     20        global $withcomments, $single, $post, $wpdb, $id, $comment;
     21        if ( $single || $withcomments )
     22                include(ABSPATH . 'wp-comments.php');
     23}
    1824
    1925function clean_url($url) {
Note: See TracChangeset for help on using the changeset viewer.