is_home() should be able to be true when is_feed()
|Reported by:||nacin||Owned by:|
|Component:||Query||Keywords:||has-patch needs-testing has-unit-tests dev-feedback|
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 (27)
11 months ago
- Keywords has-unit-tests 4.6-early added; needs-unit-tests removed
- Milestone changed from 4.5 to Future Release
5 months ago
- Keywords 4.6-early removed
- Milestone changed from Future Release to 4.7