Ticket #26733: 26733.patch
File 26733.patch, 591 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/author-template.php
277 277 if ( '' == $author_nicename ) { 278 278 $user = get_userdata($author_id); 279 279 if ( !empty($user->user_nicename) ) 280 $author_nicename = $user->user_nicename;280 $author_nicename = remove_accents( $user->user_nicename ); 281 281 } 282 282 $link = str_replace('%author%', $author_nicename, $link); 283 283 $link = home_url( user_trailingslashit( $link ) );