Ticket #16353: bookmark-template.patch
| File bookmark-template.patch, 1.2 KB (added by , 15 years ago) |
|---|
-
bookmark-template.php
39 39 * 'between' - Default is '\n' (string). The string for use in between the link, 40 40 * description, and image. 41 41 * 'show_rating' - Default is 0 (integer). Whether to show the link rating. 42 * 'li_between' - Default is '' (string). The html or text to use between 43 * successive list elements, but not after the final element. 42 44 * 43 45 * @since 2.1.0 44 46 * @access private … … 53 55 'show_updated' => 0, 'show_description' => 0, 54 56 'show_images' => 1, 'show_name' => 0, 55 57 'before' => '<li>', 'after' => '</li>', 'between' => "\n", 56 'show_rating' => 0, 'link_before' => '', 'link_after' => '' 58 'show_rating' => 0, 'link_before' => '', 'link_after' => '', 59 'li_between' => '' 57 60 ); 58 61 59 62 $r = wp_parse_args( $args, $defaults ); … … 126 129 $output .= $between . sanitize_bookmark_field('link_rating', $bookmark->link_rating, $bookmark->link_id, 'display'); 127 130 128 131 $output .= "$after\n"; 132 133 if ( $bookmark != end($bookmarks) ) 134 $output .= $li_between; 129 135 } // end while 130 136 131 137 return $output;