diff --git a/wp-includes/post.php b/wp-includes/post.php index c55fb657af..409e5c6115 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -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);