#15413 closed defect (bug) (fixed)
inconsistent use of home_url() in author-template.php
| Reported by: | chineseleper | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Permalinks | Version: | 3.1 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
Description
should be
home_url(trailingslashit($link))
not
home_url().trailingslashit($link)
in
get_author_posts_url()
Attachments (1)
Change History (8)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Best to diff from the root, that way the path in the patch includes wp-includes.
We'd also want to add some whitespace there, i.e.
home_url( trailingslashit( $link ) ).