[wp-trac] [WordPress Trac] #62962: Comments feed for a non-existent URL (was: Comments feed)
WordPress Trac
noreply at wordpress.org
Wed Jun 18 16:36:56 UTC 2025
#62962: Comments feed for a non-existent URL
--------------------------+------------------------
Reporter: manbo | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Feeds | Version:
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Changes (by sabernhardt):
* status: new => closed
* version: 6.7.2 =>
* milestone: Awaiting Review =>
* keywords: reporter-feedback =>
* resolution: => duplicate
Old description:
> Hello.
> Normally, a comments feed has a URL like
> http://example.com/comments/feed/, but even if you access a non-existent
> URL like http://example.com/abcdefg/feed/, the XML will be displayed.
> `is_comment_feed()` works on this unknown URL, so it's clear that a
> comment feed is involved.
> The XML displayed when the unknown URL is accessed also contains the word
> Comments, so it's definitely related to a comments feed.
>
> **XML excerpt**
> <title>
> Comments on: </title>
> <atom:link href="https://192.168.100.100/abcdefg/feed/"
> rel="self" type="application/rss+xml" />
> <link>https://192.168.100.100</link>
> <description>TEST</description>
> <lastBuildDate>Wed, 12 Feb 2025 10:20:24 +0000</lastBuildDate>
> <sy:updatePeriod>
> hourly </sy:updatePeriod>
> <sy:updateFrequency>
> 1 </sy:updateFrequency>
> <generator>https://wordpress.org/?v=6.7.2</generator>
New description:
Hello.
Normally, a comments feed has a URL like
`http://example.com/comments/feed/`, but even if you access a non-existent
URL like `http://example.com/abcdefg/feed/`, the XML will be displayed.
`is_comment_feed()` works on this unknown URL, so it's clear that a
comment feed is involved.
The XML displayed when the unknown URL is accessed also contains the word
Comments, so it's definitely related to a comments feed.
**XML excerpt**
{{{
<title>
Comments on: </title>
<atom:link href="https://192.168.100.100/abcdefg/feed/" rel="self"
type="application/rss+xml" />
<link>https://192.168.100.100</link>
<description>TEST</description>
<lastBuildDate>Wed, 12 Feb 2025 10:20:24 +0000</lastBuildDate>
<sy:updatePeriod>
hourly </sy:updatePeriod>
<sy:updateFrequency>
1 </sy:updateFrequency>
<generator>https://wordpress.org/?v=6.7.2</generator>
}}}
--
Comment:
This seems to be the same as #30210. Please follow that ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62962#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list