[wp-trac] [WordPress Trac] #39157: Feed returns 404 when there are no posts
WordPress Trac
noreply at wordpress.org
Mon Feb 20 06:37:28 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 has-unit-tests fixed- | Resolution: fixed
major | Focuses:
-------------------------------------------------+-------------------------
Changes (by dd32):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"40085"]:
{{{
#!CommitTicketReference repository="" revision="40085"
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,
peterwilsoncc.
See #30210.
Merges [40030] to the 4.7 branch.
Fixes #39157.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39157#comment:44>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list