summaryrefslogtreecommitdiffstats
path: root/wp-includes/bookmark-template.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-03-19 13:04:29 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-03-19 13:04:29 +0000
commite08e3e006e1482c91ed76b24291f47f872f913ff (patch)
treeeb2ddf9b5b8eb5a46e412ded50090a1ef54143ee /wp-includes/bookmark-template.php
parent98190363e52787ef578afddbdd8d927ab703b286 (diff)
downloadwordpress-mu-e08e3e006e1482c91ed76b24291f47f872f913ff.tar.gz
wordpress-mu-e08e3e006e1482c91ed76b24291f47f872f913ff.tar.xz
wordpress-mu-e08e3e006e1482c91ed76b24291f47f872f913ff.zip
WP Merge to rev 5061
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@920 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/bookmark-template.php')
-rw-r--r--wp-includes/bookmark-template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/bookmark-template.php b/wp-includes/bookmark-template.php
index 65e38aa..4249f7f 100644
--- a/wp-includes/bookmark-template.php
+++ b/wp-includes/bookmark-template.php
@@ -96,7 +96,7 @@ function get_links($category = -1,
$output .= get_option('links_recently_updated_prepend');
$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 . '"';
@@ -260,7 +260,7 @@ function _walk_bookmarks($bookmarks, $args = '' ) {
$the_link = '#';
if ( !empty($bookmark->link_url) )
- $the_link = wp_specialchars($bookmark->link_url);
+ $the_link = clean_url($bookmark->link_url);
$rel = $bookmark->link_rel;
if ( '' != $rel )