Ticket #126 (closed defect: fixed)
$post->comment_feed_link returns the entry's url, not it's comment feed url
| Reported by: | rickc | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4 |
| Component: | Habari Core Software | Version: | SVN |
| Keywords: | feeds, rewrite rules | Cc: | rickc |
Description
What I did: I put a call to $post->comment_feed_link in my entry.single.php template.
What I expected: A link to the feed for any comments on the entry.
What I got: A link back to the entry.
I don't know if it is related, but looking in post.php, the get_comment_feed_link() function requests 'atom_entry_comments', while in rewriterules.php the link for an entry's comments seems to be 'atom_feed_entry_comments'. Manually entering /slug/atom/comments into the browser's address bar, does take me to the comment feed link for the entry.
Change History
Note: See
TracTickets for help on using
tickets.
