Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#4325 closed defect (bug) (fixed)

Avatar URL(anchor tag's href value) in single pages

Reported by: gagan0123's profile gagan0123 Owned by:
Milestone: 1.6 Priority: normal
Severity: normal Version: 1.5.6
Component: Members Keywords: has-patch
Cc:

Description

Avatar URL(anchor tag's href value) is not being echoed in default theme's members/single/member-header.php on line 15
I've changed the line from
<a href="<?php bp_user_link(); ?>">
to
<a href="<?php echo bp_user_link(); ?>">
and it works fine

Change History (3)

#1 @boonebgorges
13 years ago

  • Milestone changed from Awaiting Review to 1.6

Huh, you're right. I wonder how this went unnoticed for so long. I'm going to use bp_displayed_user_link() instead, as it conforms better to the rest of the template functions used in this template.

#2 @boonebgorges
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6166]) Use bp_displayed_user_link() instead of bp_user_link() in member-header.php

Fixes #4325

Props gagan0123

#3 @gagan0123
13 years ago

Thanks for the solution.
Your solution is much more elegant than my patch.

Note: See TracTickets for help on using tickets.