Fix typo in [19231]. See #17579

git-svn-id: https://develop.svn.wordpress.org/trunk@19234 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2011-11-09 22:13:35 +00:00
parent 96f19438fb
commit 522f890c32
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 = '';