From 6befacf8f75835b9f1cc8d6ddf1c020259c8e48c Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 4 Jan 2007 18:16:33 +0000 Subject: [PATCH] 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 --- wp-includes/post.php | 1 - 1 file changed, 1 deletion(-) 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);