diff --git a/src/bp-messages/bp-messages-template.php b/src/bp-messages/bp-messages-template.php
index ebbc33677f..68512bdf00 100644
a
|
b
|
function bp_get_message_thread_total_and_unread_count( $thread_id = false ) { |
669 | 669 | } |
670 | 670 | |
671 | 671 | $total = bp_get_message_thread_total_count( $thread_id ); |
672 | | $unread = bp_get_message_thread_unread_count( $thread_id ); |
| 672 | $unread = bp_get_message_thread_unread_count(); |
673 | 673 | |
674 | 674 | return sprintf( |
675 | 675 | /* translators: 1: total number, 2: accessibility text: number of unread messages */ |
diff --git a/src/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php b/src/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php
index 41de06e5c5..a5ede45de0 100644
a
|
b
|
|
13 | 13 | _e( 'Compose Message', 'buddypress' ); |
14 | 14 | ?></h2> |
15 | 15 | |
16 | | <form action="<?php bp_messages_form_action('compose' ); ?>" method="post" id="send_message_form" class="standard-form" enctype="multipart/form-data"> |
| 16 | <form action="<?php bp_messages_form_action(); ?>" method="post" id="send_message_form" class="standard-form" enctype="multipart/form-data"> |
17 | 17 | |
18 | 18 | <?php |
19 | 19 | |