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:
parent
a6cdc2dea4
commit
bbaa4eb8a1
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue