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

git-svn-id: http://svn.automattic.com/wordpress/trunk@838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-02-06 02:32:24 +00:00
parent c208cf8542
commit 9bb849b8bf

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) {
}
}
?>
?>