[wp-trac] [WordPress Trac] #50910: 5.5 Sitemap URLs are incorrectly paginated
WordPress Trac
noreply at wordpress.org
Mon Aug 17 01:57:00 UTC 2020
#50910: 5.5 Sitemap URLs are incorrectly paginated
--------------------------------------+-----------------------------
Reporter: jonathanstegall | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.5.1
Component: Sitemaps | Version: 5.5
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Comment (by pbiron):
Replying to [comment:12 peterwilsoncc]:
> I did investigate adding `is_sitemap()` and the required changes to `WP`
and `WP_Query()` but either:
> * have no idea what I am doing
> * sitemaps don't use the main query
>
> I suspect the former, tbh, they're pretty deep internals.
The idea of adding `is_sitemap()` did come up in
[https://github.com/GoogleChromeLabs/wp-sitemaps/issues/134], but there
was an easier way to address the problem that introducing that would have
solved.
Maybe it would still be good to add that, but I think that should be it's
own ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50910#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list