Skip to:
Content

bbPress.org

Changeset 7326


Ignore:
Timestamp:
06/30/2025 07:31:25 PM (11 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 trunk, for 2.7.

Fixes #3543.

File:
1 edited

Legend:

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

    r7318 r7326  
    22022202                        <link><?php bbp_topic_permalink(); ?></link>
    22032203                        <pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_post_time( 'Y-m-d H:i:s', true ), false ); ?></pubDate>
    2204                         <dc:creator><?php the_author(); ?></dc:creator>
     2204                        <dc:creator><?php bbp_topic_author_display_name(); ?></dc:creator>
    22052205
    22062206                        <description>
     
    22292229                    <link><?php bbp_reply_url(); ?></link>
    22302230                    <pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_post_time( 'Y-m-d H:i:s', true ), false ); ?></pubDate>
    2231                     <dc:creator><?php the_author(); ?></dc:creator>
     2231                    <dc:creator><?php bbp_reply_author_display_name(); ?></dc:creator>
    22322232
    22332233                    <description>
Note: See TracChangeset for help on using the changeset viewer.