[wp-trac] [WordPress Trac] #51543: Create is_sitemap() conditional tag
WordPress Trac
noreply at wordpress.org
Thu Oct 15 22:04:57 UTC 2020
#51543: Create is_sitemap() conditional tag
-----------------------------+-----------------------------
Reporter: MadtownLems | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Sitemaps | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
As people continue expanding and customizing Core's XML sitemaps, I
believe an is_sitemap() conditional tag would be very helpful.
In the short term, its existence would be very useful for getting around
the bug explained in #51542
(https://core.trac.wordpress.org/ticket/51542), but surely developers will
find other ways to make use of it and it seems like a natural fit to be a
conditional tag.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51543>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list