[wp-trac] Re: [WordPress Trac] #7044: get_tag_feed_link() doesn't
add slash
WordPress Trac
wp-trac at lists.automattic.com
Tue May 27 12:33:55 GMT 2008
#7044: get_tag_feed_link() doesn't add slash
-----------------------------------+----------------------------------------
Reporter: scribu | Owner: mtekk
Type: defect | Status: reopened
Priority: normal | Milestone: 2.5.2
Component: General | Version: 2.5.1
Severity: normal | Resolution:
Keywords: feed, tag, permalinks |
-----------------------------------+----------------------------------------
Comment (by Viper007Bond):
Replying to [comment:3 DD32]:
> You are correct that it uses that, And if you want a slash on the end of
the url, then it needs to be set
>
> However, In the permalink structure given, you do not want a trailing
slash, and you '''do''' want a slash before any suffix's which are
applied.
Oh, I'm sorry. I misread the ticket. I thought he was talking about the
very end slash.
You're completely right. It should `trailingslashit()` rather than the
"maybe" version.
My apologies.
--
Ticket URL: <http://trac.wordpress.org/ticket/7044#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list