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

WordPress Trac noreply at wordpress.org
Wed Feb 15 09:13:02 UTC 2017


#39157: Feed returns 404 when there are no posts
-------------------------------------------------+-------------------------
 Reporter:  pavelevap                            |       Owner:
     Type:  defect (bug)                         |  johnbillion
 Priority:  high                                 |      Status:  reopened
Component:  Feeds                                |   Milestone:  4.7.3
 Severity:  normal                               |     Version:  4.7
 Keywords:  has-patch has-unit-tests fixed-      |  Resolution:
  major                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by psykro):

 If you are still struggling with this and need a temporary solution until
 this is merged into core, you can hook into the template_redirect action
 hook and override the default template_loader.php functionality with your
 own, to bypass the feed check. It's not a clean solution, but would work
 in a pinch.

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


More information about the wp-trac mailing list