Use int for redirect code. props niallkennedy, fixes #17321.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-05-05 17:33:19 +00:00
parent 94c19a9f57
commit 1379f7a976
1 changed files with 1 additions and 1 deletions

View File

@ -3512,7 +3512,7 @@ function wp_old_slug_redirect() {
if ( !$link )
return;
wp_redirect($link, '301'); // Permanent redirect
wp_redirect( $link, 301 ); // Permanent redirect
exit;
endif;
}