Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/06/2022 10:36:42 AM (4 years ago)
Author:
imath
Message:

Remove unnecessary arg when using functions which don't expect one

bp_get_message_thread_unread_count() & bp_messages_form_action() do
not accept any arguments.

Props oztaser

See #8635

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/bp-messages-template.php

    r13196 r13295  
    670670
    671671                $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();
    673673
    674674                return sprintf(
Note: See TracChangeset for help on using the changeset viewer.