[wp-trac] [WordPress Trac] #11053: Conditional Tags should work in feeds as well
WordPress Trac
noreply at wordpress.org
Wed Feb 1 20:53:37 UTC 2017
#11053: Conditional Tags should work in feeds as well
----------------------------+-----------------------------
Reporter: pampfelimetten | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Feeds | Version: 2.8.5
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
----------------------------+-----------------------------
Comment (by stevenkword):
As of 4.7.2 the description needs an update.
As it currently stands, some of the "is_" functions do work and some
don't.
`is_archive()`, `is_category()`, `is_author()` are all fine.
However, `is_home()` and `is_front_page`, `is_singular` do not work in
combination with Feeds. This is a reported issue here: #20899 which
requires some delicate patching since in order not to cause problems for
plugin authors that are accustom to the existing behavior.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/11053#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list