]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/bookmark-template.php
Wordpress 2.9-scripts
[autoinstalls/wordpress.git] / wp-includes / bookmark-template.php
index bb4f6ef37aacb19c02d5b2b60152c5de81c97744..cf24da6c9b373ce8ae4bb283a187363860f3f5e2 100644 (file)
@@ -90,7 +90,7 @@ function _walk_bookmarks($bookmarks, $args = '' ) {
 
                $rel = $bookmark->link_rel;
                if ( '' != $rel )
-                       $rel = ' rel="' . $rel . '"';
+                       $rel = ' rel="' . esc_attr($rel) . '"';
 
                $target = $bookmark->link_target;
                if ( '' != $target )