mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -970,7 +970,7 @@ case 'autosave' : // The name of this action is hardcoded in edit_post()
|
||||
// Drafts and auto-drafts are just overwritten by autosave
|
||||
if ( 'auto-draft' == $post->post_status || 'draft' == $post->post_status ) {
|
||||
$id = edit_post();
|
||||
} else { // Non drafts are not overwritten. The autosave is stored in a special post revision.
|
||||
} else { // Non drafts are not overwritten. The autosave is stored in a special post revision.
|
||||
$revision_id = wp_create_post_autosave( $post->ID );
|
||||
if ( is_wp_error($revision_id) )
|
||||
$id = $revision_id;
|
||||
|
||||
Reference in New Issue
Block a user