Changeset 9139
- Timestamp:
- 10/13/2008 10:43:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/bookmark-template.php
r8742 r9139 26 26 * of the bookmark. 27 27 * 'show_images' - Default is 1 (integer). Whether to show link image if 28 * available. 29 * 'show_name' - Default is 1 (integer). Whether to show link name if 28 30 * available. 29 31 * 'before' - Default is '<li>' (string). The html or text to prepend to each … … 46 48 $defaults = array( 47 49 'show_updated' => 0, 'show_description' => 0, 48 'show_images' => 1, ' before' => '<li>',49 ' after' => '</li>', 'between' => "\n",50 'show_images' => 1, 'show_name' => 1, 51 'before' => '<li>', 'after' => '</li>', 'between' => "\n", 50 52 'show_rating' => 0 51 53 ); … … 98 100 else // If it's a relative path 99 101 $output .= "<img src=\"" . get_option('siteurl') . "$bookmark->link_image\" $alt $title />"; 100 } else {101 $output .= $name;102 }102 } 103 104 if ($show_name) $output .= $name; 103 105 104 106 $output .= '</a>';
Note: See TracChangeset
for help on using the changeset viewer.