Fix typo in wp_save_revision(). props Andy. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7817 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1c68bb873d
commit
b7699db39e
|
@ -3060,7 +3060,7 @@ function wp_save_revision( $post_id ) {
|
|||
|
||||
// TODO: open this up for pages also
|
||||
if ( 'post' != $post->post_type )
|
||||
retun;
|
||||
return;
|
||||
|
||||
return _wp_put_revision( $post );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue