BP 1.0.3 fix > name links not working in the Members Widget
Well, my morning has been filled with BP bug-fixes a plenty. Here is another one:
if you have the Members Widget installed, and click on a name (i.e. Joe Schmoe), it will incorrectly link to members page (members/Joe Schmoe/).
Here is the fix:
file: buddypress > bp-core > bp-core-widgets.php
fix: change the href= FROM bp_the_site_member_name() TO bp_the_site_member_link() like so…
<div class="item-title fn"><a href="<?php bp_the_site_member_link() ?>" title="<?php bp_the_site_member_name() ?>"><?php bp_the_site_member_name() ?></a></div>
And while you are at it you might as well fix the widget titles for translation by replacing every instance of $name = ‘xxx’
$name = __(‘xxx’, ‘buddypress’)
The topic ‘BP 1.0.3 fix > name links not working in the Members Widget’ is closed to new replies.