Remove messages from the requested URI so they don't follow us around while paging.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -110,7 +110,7 @@ unset($status_links);
|
||||
<?php
|
||||
if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>
|
||||
<div id="message" class="updated fade"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View post'); ?></a> | <a href="post.php?action=edit&post=<?php echo $_GET['posted']; ?>"><?php _e('Edit post'); ?></a></p></div>
|
||||
<?php
|
||||
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
|
||||
endif;
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user