Skip to:
Content

BuddyPress.org

Ticket #3749: 3749.01.patch

File 3749.01.patch, 1.3 KB (added by r-a-y, 14 years ago)
  • bp-themes/bp-default/functions.php

     
    105105                // Register buttons for the relevant component templates
    106106                // Friends button
    107107                if ( bp_is_active( 'friends' ) )
    108                         add_action( 'bp_member_header_actions',    'bp_add_friend_button' );
     108                        add_action( 'bp_member_header_actions',    'bp_add_friend_button',           9 );
    109109
    110110                // Activity button
    111111                if ( bp_is_active( 'activity' ) )
    112                         add_action( 'bp_member_header_actions',    'bp_send_public_message_button' );
     112                        add_action( 'bp_member_header_actions',    'bp_send_public_message_button',  20 );
    113113
    114114                // Messages button
    115115                if ( bp_is_active( 'messages' ) )
    116                         add_action( 'bp_member_header_actions',    'bp_send_private_message_button' );
     116                        add_action( 'bp_member_header_actions',    'bp_send_private_message_button', 20 );
    117117
    118118                // Group buttons
    119119                if ( bp_is_active( 'groups' ) ) {
    120                         add_action( 'bp_group_header_actions',     'bp_group_join_button' );
    121                         add_action( 'bp_group_header_actions',     'bp_group_new_topic_button' );
     120                        add_action( 'bp_group_header_actions',     'bp_group_join_button',           9 );
     121                        add_action( 'bp_group_header_actions',     'bp_group_new_topic_button',      20 );
    122122                        add_action( 'bp_directory_groups_actions', 'bp_group_join_button' );
    123123                }
    124124