Make WordPress Core

Changeset 16401


Ignore:
Timestamp:
11/16/2010 04:09:46 PM (16 years ago)
Author:
nacin
Message:

Use user_trailingslashit in get_author_posts_url(). fixes #15441.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/author-template.php

    r16033 r16401  
    235235                }
    236236                $link = str_replace('%author%', $author_nicename, $link);
    237                 $link = home_url() . trailingslashit($link);
     237                $link = home_url( user_trailingslashit( $link ) );
    238238        }
    239239
Note: See TracChangeset for help on using the changeset viewer.