[wp-trac] [WordPress Trac] #39157: Feed returns 404 when there are no posts

WordPress Trac noreply at wordpress.org
Thu Jan 5 03:49:41 UTC 2017


#39157: Feed returns 404 when there are no posts
-------------------------------------------------+-------------------------
 Reporter:  pavelevap                            |       Owner:
     Type:  defect (bug)                         |  peterwilsoncc
 Priority:  high                                 |      Status:  assigned
Component:  Feeds                                |   Milestone:  4.7.1
 Severity:  normal                               |     Version:  4.7
 Keywords:  has-patch needs-testing has-unit-    |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 Looking at [attachment:39157.4.patch], I am not sure why the extra
 conditionals, `is_home_feed()` and `is_custom_feed()` are being introduced
 in this patch. I think new conditionals are best left to #20899.

 There are alternatives available for checking the whether a feed should be
 served. That said, happy to be disagreed with.

 Kindly ignore [attachment:39157.diff], I decided it was unrelated after
 uploading it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39157#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list