mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Show post count in dropdown - http://mosquito.wordpress.org/view.php?id=596
git-svn-id: http://svn.automattic.com/wordpress/trunk@2306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
438753cfdd
commit
d8b56fa353
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user