Show feedback that the post was saved.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7ad6f07f87
commit
6e71a37427
|
@ -630,7 +630,11 @@ case 'editedcomment':
|
||||||
default:
|
default:
|
||||||
$title = __('Create New Post');
|
$title = __('Create New Post');
|
||||||
require_once ('./admin-header.php');
|
require_once ('./admin-header.php');
|
||||||
|
?>
|
||||||
|
<?php if ( isset($_GET['posted']) ) : ?>
|
||||||
|
<div class="updated"><p>Post saved. <a href="<?php bloginfo('home'); ?>">View site »</a></p></div>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php
|
||||||
if (user_can_create_draft($user_ID)) {
|
if (user_can_create_draft($user_ID)) {
|
||||||
$action = 'post';
|
$action = 'post';
|
||||||
get_currentuserinfo();
|
get_currentuserinfo();
|
||||||
|
|
Loading…
Reference in New Issue