WordPress.org

Make WordPress Core

Ticket #15413: author-template.patch

File author-template.patch, 526 bytes (added by chineseleper, 3 years ago)

Patch

  • wp-includes/author-template.php

     
    232232                                $author_nicename = $user->user_nicename; 
    233233                } 
    234234                $link = str_replace('%author%', $author_nicename, $link); 
    235                 $link = home_url() . trailingslashit($link); 
     235                $link = home_url( trailingslashit($link) ); 
    236236        } 
    237237 
    238238        $link = apply_filters('author_link', $link, $author_id, $author_nicename);