Opened 7 months ago
Closed 7 months ago
#1993 closed defect (fixed)
RSS Feeds broken in 2.1.2
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | Feeds | Version: | 2.1.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
bbp-reply-functions.php and bbp-topic-functions contain incorrect calls for two of the fields put out in the RSS feed headers which causes the Feedburner feed validator report the feed as invalid.
The code that is causing problems is:
<pubDate><?php echo mysql2date( 'D, d M Y H:i:s O', '', false ); ?></pubDate> <generator>http://bbpress.org/?v=<?php bbp_version(); ?></generator> <language><?php echo get_option( 'rss_language' ); ?></language>
it needs to be changed to:
<pubDate><?php echo mysql2date( 'D, d M Y H:i:s O', current_time('mysql'), false ); ?></pubDate>
<generator>http://bbpress.org/?v=<?php bbp_version(); ?></generator>
<language><?php bloginfo_rss( 'language' ); ?></language>
Change History (2)
comment:1
johnjamesjacoby — 7 months ago
- Milestone changed from Awaiting Review to 2.2
comment:2
johnjamesjacoby — 7 months ago
- Resolution set to fixed
- Status changed from new to closed
(In [4267]) Feeds:
- Fix feed generation time for topics and replies.
- Fixes #1993.
- Props SteveAtty?.
Note: See
TracTickets for help on using
tickets.
Annoying. Thanks for this.