From a1842adefb5f1c0ec129e24bdb6aaa4a583f7091 Mon Sep 17 00:00:00 2001 From: rboren Date: Sat, 17 Apr 2004 23:48:42 +0000 Subject: [PATCH] Fix the_author_posts(). git-svn-id: http://svn.automattic.com/wordpress/trunk@1090 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template-functions-author.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/template-functions-author.php b/wp-includes/template-functions-author.php index 00c407538..c26d23d46 100644 --- a/wp-includes/template-functions-author.php +++ b/wp-includes/template-functions-author.php @@ -60,7 +60,7 @@ function the_author_msn() { } function the_author_posts() { - global $id,$postdata; $posts=get_usernumposts($post->post_author); echo $posts; + global $id,$post; $posts=get_usernumposts($post->post_author); echo $posts; } function get_author_link($echo = false, $author_id, $author_nicename) {