mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user