[wp-trac] [WordPress Trac] #31935: is_page() erroneously set to true when loading /feed/ associated with 404
WordPress Trac
noreply at wordpress.org
Fri Apr 10 11:23:10 UTC 2015
#31935: is_page() erroneously set to true when loading /feed/ associated with 404
-----------------------------+-----------------------------
Reporter: danielbachhuber | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Feeds | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+-----------------------------
Changes (by 5um17):
* keywords: needs-patch => has-patch
Comment:
This can be fixed by sending 200 status code only for home page feed.
Therefore, I added {{{!is_singular()}}} along with {{{is_feed()}}}
Any other better way ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31935#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list