The path goes INSIDE home_url(). fixes #15413

git-svn-id: https://develop.svn.wordpress.org/trunk@16425 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2010-11-17 16:38:28 +00:00
parent 81ae3cb21e
commit 49b8323bad
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ function get_author_posts_url($author_id, $author_nicename = '') {
$link = $wp_rewrite->get_author_permastruct();
if ( empty($link) ) {
$file = home_url() . '/';
$file = home_url( '/' );
$link = $file . '?author=' . $auth_ID;
} else {
if ( '' == $author_nicename ) {