mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -41,9 +41,9 @@ $messages[5] = __('Category not updated.');
|
||||
$messages[6] = __('Categories deleted.');
|
||||
|
||||
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">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user