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:
parent
81ae3cb21e
commit
49b8323bad
@ -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
Block a user