diff --git src/bp-templates/bp-nouveau/includes/members/template-tags.php src/bp-templates/bp-nouveau/includes/members/template-tags.php
index ca7bc4922..62fc7af67 100644
|
|
function bp_nouveau_members_loop_buttons( $args = array() ) { |
449 | 449 | 'class' => $parent_class, |
450 | 450 | ), |
451 | 451 | 'button_attr' => array( |
452 | | 'href' => trailingslashit( bp_loggedin_user_domain() . bp_nouveau_get_component_slug( 'messages' ) ) . 'compose?r=' . bp_core_get_username( $user_id ), |
| 452 | 'href' => bp_get_send_private_message_link(), |
453 | 453 | 'id' => false, |
454 | 454 | 'class' => $button_args['link_class'], |
455 | 455 | 'rel' => '', |