Skip to:
Content

bbPress.org

Changeset 6059


Ignore:
Timestamp:
06/09/2016 04:07:13 AM (6 years ago)
Author:
netweb
Message:

API Feeds: RSS <pubDate> element in bbp_display_topics_feed_rss2() shouldn't be translated.

This changeset brings this RSS <pubDate> element inline with other instances in bbPress feeds.

Props thebrandonallen.
Fixes 2961.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/topics/functions.php

    r6056 r6059  
    39923992                    <title><![CDATA[<?php bbp_topic_title(); ?>]]></title>
    39933993                    <link><?php bbp_topic_permalink(); ?></link>
    3994                     <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_meta( bbp_get_topic_id(), '_bbp_last_active_time', true ) ); ?></pubDate>
     3994                    <pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_post_meta( bbp_get_topic_id(), '_bbp_last_active_time', true ), false ); ?></pubDate>
    39953995                    <dc:creator><?php the_author() ?></dc:creator>
    39963996
Note: See TracChangeset for help on using the changeset viewer.