From dfdf60424dd80f3656d4d0f4de9974c699b5a221 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sat, 3 Jan 2004 19:05:55 +0000 Subject: [PATCH] Typo git-svn-id: https://develop.svn.wordpress.org/trunk@706 602fd350-edb4-49c9-b593-d223f7449a82 --- 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);