]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/links.php
Wordpress 2.0.11
[autoinstalls/wordpress.git] / wp-includes / links.php
index 71e2159cf6e0bb71b5615abc7325cf625b224670..d907933f7d84429e2a288698d2792689d33bd24c 100644 (file)
@@ -212,15 +212,15 @@ function get_links($category = -1,
 
                $the_link = '#';
                if (!empty($row->link_url))
 
                $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 . '"';
                }
 
 
                $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) {
                $title = $desc;
 
                if ($show_updated) {