wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
git-svn-id: https://develop.svn.wordpress.org/trunk@4675 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
61692694b1
commit
bb14ecda53
@ -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
Block a user