From 522f890c32a9111d0dccd24c36d4b45964aa023f Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Wed, 9 Nov 2011 22:13:35 +0000 Subject: [PATCH] Fix typo in [19231]. See #17579 git-svn-id: https://develop.svn.wordpress.org/trunk@19234 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 24370d8150..8f9804e2c7 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -3890,7 +3890,7 @@ function wp_get_attachment_url( $post_id = 0 ) { if ( !$post =& get_post( $post_id ) ) return false; - if ( 'attachment' != $post->post_type ); + if ( 'attachment' != $post->post_type ) return false; $url = '';