Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/30/2025 07:32:12 PM (9 months ago)
Author:
johnjamesjacoby
Message:

Feeds: prefer filterable functions in bbp_display_replies_feed_rss2().

This change replaces function calls to the_author() with the bbPress equivalent for topics & replies.

This allows display names in feeds to be filtered in the same way they normally are in non-feed contexts.

Props yoavf.

In branches/2.6, for 2.6.14.

Fixes #3543.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/src/includes/replies/functions.php

    r7319 r7327  
    21992199                        <link><?php bbp_topic_permalink(); ?></link>
    22002200                        <pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_post_time( 'Y-m-d H:i:s', true ), false ); ?></pubDate>
    2201                         <dc:creator><?php the_author(); ?></dc:creator>
     2201                        <dc:creator><?php bbp_topic_author_display_name(); ?></dc:creator>
    22022202
    22032203                        <description>
     
    22262226                    <link><?php bbp_reply_url(); ?></link>
    22272227                    <pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_post_time( 'Y-m-d H:i:s', true ), false ); ?></pubDate>
    2228                     <dc:creator><?php the_author() ?></dc:creator>
     2228                    <dc:creator><?php bbp_reply_author_display_name(); ?></dc:creator>
    22292229
    22302230                    <description>
Note: See TracChangeset for help on using the changeset viewer.