The path goes INSIDE home_url(). fixes #15413

git-svn-id: http://svn.automattic.com/wordpress/trunk@16425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2010-11-17 16:38:28 +00:00
parent a6cdc2dea4
commit bbaa4eb8a1
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 ) {