mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user