is_home() should be able to be true when is_feed()
|Reported by:||nacin||Owned by:|
|Component:||Query||Keywords:||reporter-feedback has-patch needs-testing|
is_feed() is a special query flag that can be combined with other query flags — for example, is_author() && is_feed() for /author/admin/feed/.
But it can't be combined with is_home(), because is_home() is the fallback that is only set to true when a lot of other things are true — including is_feed(). This appears to be incorrect — is_home() should still be able to be true despite is_feed().
I tracked this down to . What kind of breakage could occur with this?
Change History (8)
- Keywords needs-patch reporter-feedback added; has-patch removed