Changeset 2021 for trunk/wp-includes/comment-functions.php
- Timestamp:
- 12/30/2004 07:35:57 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/comment-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-functions.php
r2009 r2021 3 3 // Template functions 4 4 5 function comments_template( $show) {5 function comments_template() { 6 6 global $wp_query, $withcomments, $post, $wpdb, $id, $comment; 7 7 … … 70 70 if (empty ($file)) { 71 71 if ( file_exists( TEMPLATEPATH . '/comments-popup.php') ) 72 require(TEMPLATEPATH . '/comments-popup.php');72 $wpcommentspopupfile = str_replace(ABSPATH, '', TEMPLATEPATH . '/comments-popup.php'); 73 73 else 74 require( ABSPATH . 'wp-includes/wp-comments-popup.php');74 $wpcommentspopupfile = 'wp-includes/wp-comments-popup.php'; 75 75 } else { 76 76 $wpcommentspopupfile = $file;
Note: See TracChangeset
for help on using the changeset viewer.