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:
Mark Jaquith 2008-04-25 04:41:41 +00:00
parent 1c68bb873d
commit b7699db39e
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}