Fix the_author_posts().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cf39553b79
commit
a1842adefb
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue