From b7699db39ec201006636876a6be8d56dfa94e6ef Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 25 Apr 2008 04:41:41 +0000 Subject: [PATCH] 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 --- 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 ); }