git-svn-id: http://svn.automattic.com/wordpress/trunk@2382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-02-25 17:46:27 +00:00
parent 0e74c2524b
commit ee0bee021f
1 changed files with 2 additions and 3 deletions

View File

@ -175,9 +175,8 @@ function get_links($category = -1, $before = '', $after = '<br />',
echo get_settings('links_recently_updated_prepend');
}
$the_link = '#';
if (($row->link_url != null) && ($row->link_url != '')) {
$the_link = $row->link_url;
}
if ( !empty($row->link_url) )
$the_link = wp_specialchars($row->link_url);
$rel = $row->link_rel;
if ($rel != '') {
$rel = " rel='$rel'";