Yoast/wordpress-seo — pull request #1679 by anthonycole (2014-10-16 04:12:33+00:00)
Title: Make wp_redirect use a 301 when redirecting from sitemap.xml to sitemap_...

By default WordPress's wp_redirect issues a 302 redirect, and considering the use of this I'm pretty sure it should be a 301 as this is a permanent not temporary redirect in terms of how Google would rank it? Correct me if I'm wrong though. Just not sure if there was reasoning behind this.

Thanks!