Fix the_author_posts().
git-svn-id: https://develop.svn.wordpress.org/trunk@1090 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1cde322585
commit
bc9a51116d
|
@ -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