Make WordPress Core


Ignore:
Timestamp:
12/30/2004 07:35:57 PM (21 years ago)
Author:
rboren
Message:

Fix comments-popup.

File:
1 edited

Legend:

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

    r2009 r2021  
    33// Template functions
    44
    5 function comments_template( $show ) {
     5function comments_template() {
    66    global $wp_query, $withcomments, $post, $wpdb, $id, $comment;
    77
     
    7070        if (empty ($file)) {
    7171            if ( file_exists( TEMPLATEPATH . '/comments-popup.php') )
    72                 require( TEMPLATEPATH . '/comments-popup.php');
     72                $wpcommentspopupfile = str_replace(ABSPATH, '', TEMPLATEPATH . '/comments-popup.php');
    7373            else
    74                 require( ABSPATH . 'wp-includes/wp-comments-popup.php');
     74                $wpcommentspopupfile = 'wp-includes/wp-comments-popup.php';
    7575        } else {
    7676            $wpcommentspopupfile = $file;
Note: See TracChangeset for help on using the changeset viewer.