Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/12/2011 02:11:01 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Audit the usage of $bp->friends->slug. See #3325.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-buddybar.php

    r4605 r4647  
    181181
    182182                <li>
    183                     <a href="<?php echo trailingslashit( $bp->displayed_user->domain . $bp->friends->slug ); ?>"><?php _e( 'Friends', 'buddypress' ); ?></a>
     183                    <a href="<?php echo trailingslashit( $bp->displayed_user->domain . bp_get_friends_slug() ); ?>"><?php _e( 'Friends', 'buddypress' ); ?></a>
    184184                    <ul>
    185185                        <li><a href="<?php bp_members_component_link( 'friends', 'admin', array( 'clear' => 'friendships' ), true ); ?>" class="confirm"><?php printf( __( "Remove %s's Friendships", 'buddypress' ), esc_attr( $bp->displayed_user->fullname ) ) ?></a></li>
Note: See TracChangeset for help on using the changeset viewer.