Show feedback that the post was saved.

git-svn-id: https://develop.svn.wordpress.org/trunk@2050 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-01-06 09:29:04 +00:00
parent 4d551c314d
commit 7ca6c5dc82
1 changed files with 5 additions and 1 deletions

View File

@ -630,7 +630,11 @@ case 'editedcomment':
default:
$title = __('Create New Post');
require_once ('./admin-header.php');
?>
<?php if ( isset($_GET['posted']) ) : ?>
<div class="updated"><p>Post saved. <a href="<?php bloginfo('home'); ?>">View site &raquo;</a></p></div>
<?php endif; ?>
<?php
if (user_can_create_draft($user_ID)) {
$action = 'post';
get_currentuserinfo();