wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
git-svn-id: http://svn.automattic.com/wordpress/trunk@4675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7b0d0d180c
commit
6befacf8f7
|
@ -1456,7 +1456,6 @@ function wp_get_attachment_thumb_url( $post_id = 0 ) {
|
|||
|
||||
if ( !$thumb = wp_get_attachment_thumb_file( $post_id ) )
|
||||
return false;
|
||||
return false;
|
||||
|
||||
$url = str_replace(basename($url), basename($thumb), $url);
|
||||
|
||||
|
|
Loading…
Reference in New Issue