Changeset 4647 for trunk/bp-themes/bp-default/_inc/ajax.php
- Timestamp:
- 07/12/2011 02:11:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/_inc/ajax.php
r4646 r4647 413 413 echo __("Friendship could not be canceled.", 'buddypress'); 414 414 } else { 415 echo '<a id="friend-' . $_POST['fid'] . '" class="add" rel="add" title="' . __( 'Add Friend', 'buddypress' ) . '" href="' . wp_nonce_url( $bp->loggedin_user->domain . $bp->friends->slug. '/add-friend/' . $_POST['fid'], 'friends_add_friend' ) . '">' . __( 'Add Friend', 'buddypress' ) . '</a>';415 echo '<a id="friend-' . $_POST['fid'] . '" class="add" rel="add" title="' . __( 'Add Friend', 'buddypress' ) . '" href="' . wp_nonce_url( $bp->loggedin_user->domain . bp_get_friends_slug() . '/add-friend/' . $_POST['fid'], 'friends_add_friend' ) . '">' . __( 'Add Friend', 'buddypress' ) . '</a>'; 416 416 } 417 417 … … 423 423 echo __("Friendship could not be requested.", 'buddypress'); 424 424 } else { 425 echo '<a href="' . $bp->loggedin_user->domain . $bp->friends->slug. '/requests" class="requested">' . __( 'Friendship Requested', 'buddypress' ) . '</a>';425 echo '<a href="' . $bp->loggedin_user->domain . bp_get_friends_slug() . '/requests" class="requested">' . __( 'Friendship Requested', 'buddypress' ) . '</a>'; 426 426 } 427 427 } else {
Note: See TracChangeset
for help on using the changeset viewer.