git-svn-id: http://svn.automattic.com/wordpress/trunk@2306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-02-13 23:46:33 +00:00
parent 438753cfdd
commit d8b56fa353

View File

@ -239,7 +239,7 @@ function get_archives_link($url, $text, $format = 'html', $before = '', $after =
if ('link' == $format) {
return "\t<link rel='archives' title='$title_text' href='$url' />\n";
} elseif ('option' == $format) {
return "\t<option value='$url'>$text</option>\n";
return "\t<option value='$url'>$before $text $after</option>\n";
} elseif ('html' == $format) {
return "\t<li>$before<a href='$url' title='$title_text'>$text</a>$after</li>\n";
} else { // custom