From 5a026c389be283943d4c734a9b4e063c2b534f28 Mon Sep 17 00:00:00 2001 From: dd32 Date: Wed, 9 Nov 2011 22:13:35 +0000 Subject: [PATCH] Fix typo in [19231]. See #17579 git-svn-id: http://svn.automattic.com/wordpress/trunk@19234 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 24370d815..8f9804e2c 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 = '';