#3456 closed enhancement (fixed)
Add do_action('commentsrss2_item') to wp-commentsrss2.php
Reported by: | seek3r | Owned by: | markjaquith |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
This would allow for comment enclosures. I use this for my support of audio comments in wordpress, and then the comment feed has the enclosure and becomes its own little podcast.
So right above the closing item tag
<?php do_action('commentsrss2_item'); ?>
</item>
a 2 second fix from anyone with svn access, Im even attaching the latest version of the file with that one line added
Attachments (2)
Change History (7)
#2
@
18 years ago
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
+1, but I'm no RSS expert... objections? Better way to implement? Redundant?
#3
@
18 years ago
Looks fine to me. It'll allow one to add additional data for posts.
However, I think it'd be best if the ID of the post was passed via the hook so you don't have to do global
and such.
Note: See
TracTickets for help on using
tickets.
wp-commentsrss2.php with requested line added