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:
parent
96f19438fb
commit
522f890c32
@ -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 = '';
|
||||
|
Loading…
Reference in New Issue
Block a user