diff --git a/wp-includes/links.php b/wp-includes/links.php
index 9e86eb58af..bbe994b9a8 100644
--- a/wp-includes/links.php
+++ b/wp-includes/links.php
@@ -207,7 +207,10 @@ function get_links($category = -1, $before = '', $after = '
',
echo($rel . $title . $target);
echo('>');
if (($row->link_image != null) && $show_images) {
- echo "link_image' $alt $title />";
+ if (strstr($row->link_image, 'http'))
+ echo "";
+ else // If it's a relative path
+ echo "link_image' $alt $title />";
} else {
echo($name);
}