Skip to:
Content

bbPress.org

Opened 3 years ago

Closed 4 months ago

Last modified 4 months ago

#3543 closed defect (bug) (fixed)

RSS Feed: use bbpress functions for post and reply authors

Reported by: yoavf's profile yoavf Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.6.14 Priority: normal
Severity: normal Version: 2.0
Component: API - Feeds Keywords: has-patch
Cc:

Description

Currently, the RSS feed output from bbp_display_replies_feed_rss2 uses the_author() to output the display name for the topic and reply authors.

This prevents any filters added to bbpress core functions from being applied to the display names.
We should use bbp_author_display_name() had bbp_reply_author_display_name() instead.

Attachments (2)

3543.diff (1.0 KB) - added by yoavf 3 years ago.
3543.2.diff (1.0 KB) - added by yoavf 3 years ago.

Download all attachments as: .zip

Change History (5)

@yoavf
3 years ago

@yoavf
3 years ago

#1 @johnjamesjacoby
4 months ago

  • Component changed from General to API - Feeds
  • Milestone changed from Awaiting Review to 2.6.14
  • Owner set to johnjamesjacoby
  • Status changed from new to assigned
  • Version set to 2.0

#2 @johnjamesjacoby
4 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 7326:

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.

#3 @johnjamesjacoby
4 months ago

In 7327:

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.

Note: See TracTickets for help on using tickets.