]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/bookmark-template.php
Wordpress 3.0.4
[autoinstalls/wordpress.git] / wp-includes / bookmark-template.php
index bb4f6ef37aacb19c02d5b2b60152c5de81c97744..7c5949cc21748b20179d4c6330092aae2e362c3e 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 )
@@ -153,6 +153,8 @@ function _walk_bookmarks($bookmarks, $args = '' ) {
  *             formatted bookmarks.
  * 'categorize' - Default is 1 (integer). Whether to show links listed by
  *             category (default) or show links in one column.
+ * 'show_description' - Default is 0 (integer). Whether to show the description
+ *             of the bookmark.
  *
  * These options define how the Category name will appear before the category
  * links are displayed, if 'categorize' is 1. If 'categorize' is 0, then it will