[wp-trac] [WordPress Trac] #20899: is_home() should be able to be true when is_feed()
WordPress Trac
noreply at wordpress.org
Fri Aug 26 14:40:08 UTC 2016
#20899: is_home() should be able to be true when is_feed()
-------------------------------------------------+-------------------------
Reporter: nacin | Owner:
Type: defect (bug) | johnbillion
Priority: normal | Status: reviewing
Component: Query | Milestone: 4.7
Severity: normal | Version:
Keywords: has-patch needs-testing has-unit- | Resolution:
tests | Focuses:
-------------------------------------------------+-------------------------
Comment (by swissspidy):
Feedback from @danielbachhuber:
> I think this is going to break things
> I've used `is_home()` a fair number of times to conditionally modify the
main query where changing core's behavior would cause unintended behavior
in the main feed
Source: https://wordpress.slack.com/archives/core/p1472220220006226
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20899#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list