git-svn-id: http://svn.automattic.com/wordpress/trunk@706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-01-03 19:05:55 +00:00
parent fa8e63ab0b
commit 637df9921a
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ function get_month_link($year, $month) {
if ('/' != substr($monthlink, -1)) $monthlink = substr($monthlink, 0, -1);
$monthlink = str_replace('%year%', $year, $monthlink);
$monthlink = str_replace('%monthnum%', intval($month), $monthlink);
$monhtlink = str_replace('%post_id%', '', $monthlink);
$monthlink = str_replace('%post_id%', '', $monthlink);
return $siteurl . $monthlink;
} else {
return $siteurl.'/'.$blogfilename.$querystring_start.'m'.$querystring_equal.$year.zeroise($month, 2);