Changeset 7959
- Timestamp:
- 05/20/2008 04:43:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r7941 r7959 357 357 358 358 if ('link' == $format) 359 return"\t<link rel='archives' title='$title_text' href='$url' />\n";359 $link_html = "\t<link rel='archives' title='$title_text' href='$url' />\n"; 360 360 elseif ('option' == $format) 361 return"\t<option value='$url'>$before $text $after</option>\n";361 $link_html = "\t<option value='$url'>$before $text $after</option>\n"; 362 362 elseif ('html' == $format) 363 return"\t<li>$before<a href='$url' title='$title_text'>$text</a>$after</li>\n";363 $link_html = "\t<li>$before<a href='$url' title='$title_text'>$text</a>$after</li>\n"; 364 364 else // custom 365 return "\t$before<a href='$url' title='$title_text'>$text</a>$after\n"; 365 $link_html = "\t$before<a href='$url' title='$title_text'>$text</a>$after\n"; 366 367 $link_html = apply_filters( "get_archives_link", $link_html ); 368 369 return $link_html; 366 370 } 367 371
Note: See TracChangeset
for help on using the changeset viewer.