Skip to:
Content

BuddyPress.org

Ticket #8890: 8890.5.patch

File 8890.5.patch, 623 bytes (added by viralsampat, 3 years ago)

I have checked above mentioned issue and founds few files. Here, I have added its patch.

  • classes/class-bp-messages-thread.php

     
    984984         * @param string $type    The type of messages to get. Either 'all' or 'unread'.
    985985         *                        or 'read'. Defaults to 'all'.
    986986         * @return int Total thread count for the provided user.
     987         *
     988         * @global wpdb $wpdb WordPress database object.
    987989         */
    988990        public static function get_total_threads_for_user( $user_id, $box = 'inbox', $type = 'all' ) {
    989991                global $wpdb;