user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899

git-svn-id: https://develop.svn.wordpress.org/trunk@5019 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2007-03-10 06:18:43 +00:00
parent b2105a943e
commit e2f9950018
5 changed files with 26 additions and 19 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ function get_trackback_url() {
$tb_url = get_option('siteurl') . '/wp-trackback.php?p=' . $id;
if ( '' != get_option('permalink_structure') )
$tb_url = trailingslashit(get_permalink()) . user_trailingslashit('trackback');
$tb_url = trailingslashit(get_permalink()) . user_trailingslashit('trackback', 'single_trackback');
return $tb_url;
}