$the_link = '#';
if (!empty($row->link_url))
- $the_link = wp_specialchars($row->link_url);
+ $the_link = clean_url($row->link_url);
$rel = $row->link_rel;
if ($rel != '') {
$rel = ' rel="' . $rel . '"';
}
- $desc = wp_specialchars($row->link_description, ENT_QUOTES);
- $name = wp_specialchars($row->link_name, ENT_QUOTES);
+ $desc = attribute_escape($row->link_description);
+ $name = attribute_escape($row->link_name);
$title = $desc;
if ($show_updated) {