From bc9a51116de3e77cc309d8606033a2f095d3d48d Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 17 Apr 2004 23:48:42 +0000 Subject: [PATCH] Fix the_author_posts(). git-svn-id: https://develop.svn.wordpress.org/trunk@1090 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 00c4075382..c26d23d465 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) {