Fix typo in [19231]. See #17579

git-svn-id: http://svn.automattic.com/wordpress/trunk@19234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2011-11-09 22:13:35 +00:00
parent 89c5a967d6
commit 5a026c389b
1 changed files with 1 additions and 1 deletions

View File

@ -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 = '';