Fix typo in wp_save_revision(). props Andy. see #6775

git-svn-id: http://svn.automattic.com/wordpress/trunk@7817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2008-04-25 04:41:41 +00:00
parent ca6bd9ebd5
commit 60aab00ba1

View File

@ -3060,7 +3060,7 @@ function wp_save_revision( $post_id ) {
// TODO: open this up for pages also // TODO: open this up for pages also
if ( 'post' != $post->post_type ) if ( 'post' != $post->post_type )
retun; return;
return _wp_put_revision( $post ); return _wp_put_revision( $post );
} }