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:
parent
4d551c314d
commit
7ca6c5dc82
@ -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…
x
Reference in New Issue
Block a user