should fix redirect
This commit is contained in:
parent
9ce8aacb2f
commit
696f7b6c74
@ -237,7 +237,12 @@ if (!function_exists('fnmatch')) {
|
|||||||
if (!$absolute_path)
|
if (!$absolute_path)
|
||||||
$location = BLOG_BASEURL . $location;
|
$location = BLOG_BASEURL . $location;
|
||||||
|
|
||||||
|
if ( function_exists('wp_redirect') ) {
|
||||||
wp_redirect($location);
|
wp_redirect($location);
|
||||||
|
} else {
|
||||||
|
header("Location: $location");
|
||||||
|
}
|
||||||
|
|
||||||
exit();
|
exit();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user