[wp-trac] [WordPress Trac] #39157: Feed returns 404 when there are no posts
WordPress Trac
noreply at wordpress.org
Tue Dec 13 16:12:25 UTC 2016
#39157: Feed returns 404 when there are no posts
------------------------------------------------------+--------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 4.7.1
Component: Feeds | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-unit-tests | Focuses:
------------------------------------------------------+--------------------
Comment (by stevenkword):
Replying to [comment:9 dd32]:
> A self-contained plugin (or unit tests if possible) to reproduce the
various angles of the issue would be appreciated here.
I'm working on unit tests for testing the presence of a custom feed, which
shouldn't be a problem. However, testing the negative case where there
are no posts is a bit more work since the current tests for feeds populate
those during setUp(). I'd like to break up these test files, but that
will also make this ticket much harder to review. So with that in mind,
I'm going to take a stab and doing this in two parts.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39157#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list