From 637df9921a904c2de50818937c7904bae5a3bc86 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sat, 3 Jan 2004 19:05:55 +0000 Subject: [PATCH] Typo git-svn-id: http://svn.automattic.com/wordpress/trunk@706 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/template-functions.php b/wp-includes/template-functions.php index 640c561b22..33863f7659 100644 --- a/wp-includes/template-functions.php +++ b/wp-includes/template-functions.php @@ -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);