Typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fa8e63ab0b
commit
637df9921a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue