Remove messages from the requested URI so they don't follow us around while paging.

git-svn-id: https://develop.svn.wordpress.org/trunk@7046 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-02-26 20:35:40 +00:00
parent 82905a1f33
commit 11db3d97c2
6 changed files with 9 additions and 6 deletions

View File

@@ -71,6 +71,7 @@ if ( isset($_GET['deleted']) ) {
$deleted = (int) $_GET['deleted'];
printf(__ngettext('%s link deleted.', '%s links deleted', $deleted), $deleted);
echo '</p></div>';
$_SERVER['REQUEST_URI'] = remove_query_arg(array('deleted'), $_SERVER['REQUEST_URI']);
}
?>