Skip to content

Sitemaps: Don't return a 404 status for valid sitemap requests when the main query has no posts - #13247

Closed
i-am-chitti wants to merge 18 commits into
WordPress:trunkfrom
i-am-chitti:fix/65945-sitemap-404-no-posts
Closed

Sitemaps: Don't return a 404 status for valid sitemap requests when the main query has no posts#13247
i-am-chitti wants to merge 18 commits into
WordPress:trunkfrom
i-am-chitti:fix/65945-sitemap-404-no-posts

Drop the get_sanitized_query_var() helper.

f3130f7
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Manage Trac ticket reminders for pull requests
succeeded Sep 9, 2026 in 3s