Skip to:
Content

BuddyPress.org

Ticket #8692: 8692.patch

File 8692.patch, 780 bytes (added by imath, 3 years ago)
  • src/bp-templates/bp-nouveau/includes/members/template-tags.php

    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() ) { 
    449449                                                        'class' => $parent_class,
    450450                                                ),
    451451                                                '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(),
    453453                                                        'id'    => false,
    454454                                                        'class' => $button_args['link_class'],
    455455                                                        'rel'   => '',