Make sure permalink has trailing slash before appending "trackback/" in trackback_url().

git-svn-id: https://develop.svn.wordpress.org/trunk@838 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-02-06 02:32:24 +00:00
parent 0c38a42653
commit 7e9584f828
1 changed files with 2 additions and 2 deletions

View File

@ -260,7 +260,7 @@ function trackback_url($display = true) {
$tb_url = $siteurl.'/wp-trackback.php/'.$id;
if ('' != get_settings('permalink_structure')) {
$tb_url = get_permalink() . 'trackback/';
$tb_url = trailingslashit(get_permalink()) . 'trackback/';
}
if ($display) {
@ -290,4 +290,4 @@ function trackback_rdf($timezone = 0) {
}
}
?>
?>