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

@@ -114,7 +114,8 @@ $messages[5] = __('Category not updated.');
<?php if (isset($_GET['message'])) : ?>
<div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
<?php endif; ?>
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
endif; ?>
<div class="wrap">
<form id="posts-filter" action="" method="get">