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:
parent
89c5a967d6
commit
5a026c389b
|
@ -3890,7 +3890,7 @@ function wp_get_attachment_url( $post_id = 0 ) {
|
||||||
if ( !$post =& get_post( $post_id ) )
|
if ( !$post =& get_post( $post_id ) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ( 'attachment' != $post->post_type );
|
if ( 'attachment' != $post->post_type )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
$url = '';
|
$url = '';
|
||||||
|
|
Loading…
Reference in New Issue