Sitemaps: Ensure correct HTTP status when sitemaps are disabled
If sitemaps are disabled, previously there would be a rewrite rule for the sitemap endpoint. This endpoint would display the homepage since there was a rewrite rule. Now, Sitemaps are loaded, and the proper HTTP headers are returned. Fixes #50643. Props swissspidy, kraftbj, donmhico. Built from https://develop.svn.wordpress.org/trunk@48523 git-svn-id: https://core.svn.wordpress.org/trunk@48285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Loading
Please register or sign in to comment