From 60aab00ba16702cba516b30389d390721262b9f3 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Fri, 25 Apr 2008 04:41:41 +0000 Subject: [PATCH] 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 --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index bf3e4e835d..8130af22cb 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -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 ); }