mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Show "Draft updated" instead of "Post updated" when saving drafts.
git-svn-id: https://develop.svn.wordpress.org/trunk@12017 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -29,6 +29,7 @@ $messages[7] = __('Post saved.');
|
||||
$messages[8] = sprintf(__('Post submitted. <a href="%s">Preview post</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) );
|
||||
// translators: Publish box date formt, see http://php.net/date - Same as in meta-boxes.php
|
||||
$messages[9] = sprintf(__('Post scheduled for: <b>%1$s</b>. <a href="%2$s">Preview post</a>'), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), get_permalink($post_ID));
|
||||
$messages[10] = sprintf(__('Draft updated. <a href="%s">Preview</a>'), get_permalink($post_ID));
|
||||
|
||||
if ( isset($_GET['revision']) )
|
||||
$messages[5] = sprintf( __('Post restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) );
|
||||
|
||||
Reference in New Issue
Block a user