mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
git-svn-id: https://develop.svn.wordpress.org/trunk@2436 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -243,7 +243,7 @@ switch ($action) {
|
||||
WHERE link_id=$link_id");
|
||||
} // end if save
|
||||
setcookie('links_show_cat_id_' . COOKIEHASH, $links_show_cat_id, time()+600);
|
||||
header('Location: ' . $this_file);
|
||||
wp_redirect($this_file);
|
||||
break;
|
||||
} // end Save
|
||||
|
||||
@@ -267,7 +267,7 @@ switch ($action) {
|
||||
}
|
||||
$links_show_cat_id = $cat_id;
|
||||
setcookie('links_show_cat_id_' . COOKIEHASH, $links_show_cat_id, time()+600);
|
||||
header('Location: '.$this_file);
|
||||
wp_redirect($this_file);
|
||||
break;
|
||||
} // end Delete
|
||||
|
||||
|
||||
Reference in New Issue
Block a user