[wp-trac] [WordPress Trac] #39157: Feed returns 404 when there are no posts
WordPress Trac
noreply at wordpress.org
Sun Jan 29 23:08:58 UTC 2017
#39157: Feed returns 404 when there are no posts
-------------------------------------------------+-------------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | johnbillion
Priority: high | Status: closed
Component: Feeds | Milestone: 4.7.3
Severity: normal | Version: 4.7
Keywords: has-patch needs-testing has-unit- | Resolution: fixed
tests | Focuses:
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"40030"]:
{{{
#!CommitTicketReference repository="" revision="40030"
Feeds: Prevent empty feeds from returning 404 errors.
Partial revert of [38929].
This reverts the source code from the commit for #30210 to prevent valid
but empty feeds from returning 404 file not found errors for the home and
custom feeds.
The tests in the commit that remain applicable are retained.
Props pavelevap for reporting, stevenkword for initial patch.
See #30210.
Fixes #39157.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39157#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list