summaryrefslogtreecommitdiffstats
path: root/wp-includes/bookmark-template.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-12-22 12:54:24 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-12-22 12:54:24 +0000
commit4fb300c67a3442cd0209a6129d53f0f727b60743 (patch)
treea190684f113f031dbbac1d0bf09a1202251e3524 /wp-includes/bookmark-template.php
parent866b3a1b844041e6128e7e3c22710b49e72b99ec (diff)
downloadwordpress-mu-4fb300c67a3442cd0209a6129d53f0f727b60743.tar.gz
wordpress-mu-4fb300c67a3442cd0209a6129d53f0f727b60743.tar.xz
wordpress-mu-4fb300c67a3442cd0209a6129d53f0f727b60743.zip
WP Merge to rev 4661
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@828 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/bookmark-template.php')
-rw-r--r--wp-includes/bookmark-template.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/wp-includes/bookmark-template.php b/wp-includes/bookmark-template.php
index e27e8bc..e71b9d6 100644
--- a/wp-includes/bookmark-template.php
+++ b/wp-includes/bookmark-template.php
@@ -101,8 +101,8 @@ function get_links($category = -1,
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 )
@@ -266,8 +266,8 @@ function _walk_bookmarks($bookmarks, $args = '' ) {
if ( '' != $rel )
$rel = ' rel="' . $rel . '"';
- $desc = wp_specialchars($bookmark->link_description, ENT_QUOTES);
- $name = wp_specialchars($bookmark->link_name, ENT_QUOTES);
+ $desc = attribute_escape($bookmark->link_description);
+ $name = attribute_escape($bookmark->link_name);
$title = $desc;
if ( $show_updated )