Making WordPress.org

Opened 21 months ago

Last modified 21 months ago

#6719 new defect (bug)

RSS feed endpoint for user replies are empty

Reported by: champsupertramp's profile champsupertramp Owned by:
Milestone: Priority: normal
Component: Support Forums Keywords: needs-testing close
Cc:

Description (last modified by Otto42)

If the RSS feed for user replies is empty, why does the endpoint still exist?

Quoting what @Otto42 response via slack:

All endpoints always exist. That's just how the feed endpoints work in WordPress. (edited)
The feed isn't "disabled" for replies. That would imply it was intentional or done by design. No, the replies list is just not written in such a way as to have the feed apply to it.
In WordPress whenever you have a feed it always applies to the main query of the page. For example, if you look at a tag archive. The main query returns the list of posts that have a tag. The feed therefore is just another way of looking at that page. It generates from the main query only.
Whoever wrote that reply page, if and when, did not write it such that the main query was the page's main content. Thus the automatic feed generation doesn't work for that, because it's not the main query that's returning the replies. (edited)
If it is desirable in any way to have that be an actual feed, then it would need to be rewritten to have that list of posts be returned as the main query. In other words, make a meta ticket about it.

For Example https://wordpress.org/support/users/champsupertramp/replies/feed

Let's say it is disabled for tracking user replies, isn't this possible to scrape the page directly without the RSS feed endpoint? Why not just support the user replies via RSS Feed?

Change History (3)

#1 @Otto42
21 months ago

  • Description modified (diff)

#2 @Otto42
21 months ago

  • Description modified (diff)

#3 @dd32
21 months ago

  • Keywords needs-testing close added; needs-patch removed
  • Type changed from enhancement to defect (bug)

This looks like it might be a bug in bbPress, as I can duplicate it on bbpress.org.

This should likely be tested on a stand-alone bbPress installation, and then reported upstream to bbPress as a bug report.

Note: See TracTickets for help on using tickets.