Changeset 836 for trunk/wp-includes/template-functions-comment.php
- Timestamp:
- 02/05/2004 08:55:50 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-comment.php
r805 r836 210 210 global $id; 211 211 global $querystring_start, $querystring_equal, $querystring_separator, $siteurl; 212 $url = $siteurl.'/'.$commentsrssfilename.$querystring_start.'p'.$querystring_equal.$id; 212 213 if ('' != get_settings('permalink_structure')) { 214 $url = trailingslashit(get_permalink()) . 'rss2/'; 215 } else { 216 $url = $siteurl.'/'.$commentsrssfilename.$querystring_start.'p'.$querystring_equal.$id; 217 } 218 213 219 $url = '<a href="'.$url.'">'.$link_text.'</a>'; 214 220 echo $url; … … 253 259 global $siteurl, $id; 254 260 $tb_url = $siteurl.'/wp-trackback.php/'.$id; 261 262 if ('' != get_settings('permalink_structure')) { 263 $tb_url = get_permalink() . 'trackback/'; 264 } 265 255 266 if ($display) { 256 267 echo $tb_url;
Note: See TracChangeset
for help on using the changeset viewer.