Changes between Initial Version and Version 1 of Ticket #51117, comment 9
- Timestamp:
- 05/04/2023 11:08:13 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51117, comment 9
initial v1 1 Currently using this as a patch (via plugin) solving all issues. The functions `is_sitemap()` and `is_sitemap_stylesheet()` are not technically needed in this context but seem logical to have available (and use)... 1 Currently using the following as a patch (via plugin) solving all issues. The functions `is_sitemap()` and `is_sitemap_stylesheet()` are not technically needed in this context but seem logical to have available (and use)... 2 3 Note that hooking `wp_sitemaps_loaded()` into `parse_request` will render the sitemap (or stylesheet) early and then exit, thereby skipping the unneeded main query altogether. 2 4 3 5 {{{