Shouldn't use relative links for link images.

git-svn-id: https://develop.svn.wordpress.org/trunk@1151 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-04-24 22:09:27 +00:00
parent 4b6149eecf
commit 2565c5db79
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ function get_links($category = -1, $before = '', $after = '<br />',
echo($rel . $title . $target);
echo('>');
if (($row->link_image != null) && $show_images) {
echo("<img src=\"$row->link_image\" border=\"0\"" . $alt . $title . "/>");
echo '<img src="' . get_settings('siteurl') . '$row->link_image" ' . $alt . $title . '/>');
} else {
echo($name);
}